Show More
@@ -5,16 +5,12 b'' | |||
|
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