Mercurial > kallithea
comparison rhodecode/templates/repo_switcher_list.html @ 1263:83714588272c beta
added quick filter into repo switcher list
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 16 Apr 2011 22:03:19 +0200 |
parents | 2ab211e0aecd |
children | 96ae22a4e963 |
comparison
equal
deleted
inserted
replaced
1262:238bea955b54 | 1263:83714588272c |
---|---|
1 ## -*- coding: utf-8 -*- | 1 ## -*- coding: utf-8 -*- |
2 | |
3 <li class="qfilter_rs"> | |
4 <input type="text" | |
5 style="border:0" | |
6 value="quick filter..." | |
7 name="filter" size="15" id="q_filter_rs" /> | |
8 </li> | |
9 | |
2 %for repo in c.repos_list: | 10 %for repo in c.repos_list: |
3 | 11 |
4 %if repo['dbrepo']['private']: | 12 %if repo['dbrepo']['private']: |
5 <li> | 13 <li> |
6 <img src="${h.url("/images/icons/lock.png")}" alt="${_('Private repository')}" class="repo_switcher_type"/> | 14 <img src="${h.url("/images/icons/lock.png")}" alt="${_('Private repository')}" class="repo_switcher_type"/> |
7 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="%s" % repo['dbrepo']['repo_type'])} | 15 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
8 </li> | 16 </li> |
9 %else: | 17 %else: |
10 <li> | 18 <li> |
11 <img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" /> | 19 <img src="${h.url("/images/icons/lock_open.png")}" alt="${_('Public repository')}" class="repo_switcher_type" /> |
12 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="%s" % repo['dbrepo']['repo_type'])} | 20 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} |
13 </li> | 21 </li> |
14 %endif | 22 %endif |
15 %endfor | 23 %endfor |