Mercurial > kallithea
annotate rhodecode/templates/repo_switcher_list.html @ 2501:044c31d67ccc beta
make get_action always return action
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 21 Jun 2012 17:51:01 +0200 |
parents | 9f37281195a2 |
children | 0dc09191775b |
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"> |
2420
a78cd80ad385
Added localization for the “quick filter” menu item and improved localization on the followers page.
Vincent Duvert <vincent@duvert.net>
parents:
1888
diff
changeset
|
4 <input type="text" style="border:0" value="${_('quick filter...')}" name="filter" size="20" 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: |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1653
diff
changeset
|
8 |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 %if repo['dbrepo']['private']: |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 <li> |
1651
96ae22a4e963
Display error on ypjax fail
Marcin Kuzminski <marcin@python-works.com>
parents:
1263
diff
changeset
|
11 <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/> |
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
12 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 </li> |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 %else: |
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 <li> |
1651
96ae22a4e963
Display error on ypjax fail
Marcin Kuzminski <marcin@python-works.com>
parents:
1263
diff
changeset
|
16 <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" /> |
1263
83714588272c
added quick filter into repo switcher list
Marcin Kuzminski <marcin@python-works.com>
parents:
1171
diff
changeset
|
17 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
1158
f63cc1cbce27
implemented repo switcher list as dynamically loaded by xhr requestt.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 </li> |
1888
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1653
diff
changeset
|
19 %endif |
f91d3f9b7230
White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents:
1653
diff
changeset
|
20 %endfor |