Mercurial > kallithea
annotate rhodecode/templates/repo_switcher_list.html @ 3531:1c2371dc86bd beta
Bugfix: On the changelog page, its possible that the some changeset is already checked out by the browser. So we check for that on page load.
author | leonardo |
---|---|
date | Mon, 04 Mar 2013 18:56:02 +0100 |
parents | c36fee21cd83 |
children | fc79b3d5beb7 |
rev | line source |
---|---|
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
1 ## -*- coding: utf-8 -*- |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
2 |
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
3 <li class="qfilter_rs"> |
2605
0dc09191775b
small html fix for quick repo switcher
Marcin Kuzminski <marcin@python-works.com>
parents:
2430
diff
changeset
|
4 <input type="text" style="border:0;width:100%" value="${_('quick filter...')}" name="filter" id="q_filter_rs" /> |
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
5 </li> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1653
diff
changeset
|
6 |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 %for repo in c.repos_list: |
3284
c36fee21cd83
quick repo list: public/private icon control should only control icons, not repo visibility
Mads Kiilerich <madski@unity3d.com>
parents:
2674
diff
changeset
|
8 <li> |
2674
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2605
diff
changeset
|
9 %if repo['dbrepo']['private'] and c.visual.show_private_icon: |
1651
96ae22a4e963
Display error on ypjax fail
Marcin Kuzminski <marcin@python-works.com>
parents:
1263
diff
changeset
|
10 <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/> |
2674
a221706dab50
merged + fixed pull request #62: Implemented metatags and visualisation options.
Marcin Kuzminski <marcin@python-works.com>
parents:
2605
diff
changeset
|
11 %elif not repo['dbrepo']['private'] and c.visual.show_public_icon: |
1651
96ae22a4e963
Display error on ypjax fail
Marcin Kuzminski <marcin@python-works.com>
parents:
1263
diff
changeset
|
12 <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" /> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1653
diff
changeset
|
13 %endif |
3284
c36fee21cd83
quick repo list: public/private icon control should only control icons, not repo visibility
Mads Kiilerich <madski@unity3d.com>
parents:
2674
diff
changeset
|
14 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
c36fee21cd83
quick repo list: public/private icon control should only control icons, not repo visibility
Mads Kiilerich <madski@unity3d.com>
parents:
2674
diff
changeset
|
15 </li> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1653
diff
changeset
|
16 %endfor |