##// END OF EJS Templates
quick repo list: public/private icon control should only control icons, not repo visibility
Mads Kiilerich -
r3284:c36fee21 beta
parent child Browse files
Show More
@@ -1,20 +1,16 b''
1 1 ## -*- coding: utf-8 -*-
2 2
3 3 <li class="qfilter_rs">
4 4 <input type="text" style="border:0;width:100%" value="${_('quick filter...')}" name="filter" id="q_filter_rs" />
5 5 </li>
6 6
7 7 %for repo in c.repos_list:
8
8 <li>
9 9 %if repo['dbrepo']['private'] and c.visual.show_private_icon:
10 <li>
11 10 <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/>
12 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])}
13 </li>
14 11 %elif not repo['dbrepo']['private'] and c.visual.show_public_icon:
15 <li>
16 12 <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" />
17 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])}
18 </li>
19 13 %endif
14 ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])}
15 </li>
20 16 %endfor
General Comments 0
You need to be logged in to leave comments. Login now