Show More
@@ -5,16 +5,12 b'' | |||||
5 | </li> |
|
5 | </li> | |
6 |
|
6 | |||
7 | %for repo in c.repos_list: |
|
7 | %for repo in c.repos_list: | |
8 |
|
8 | <li> | ||
9 | %if repo['dbrepo']['private'] and c.visual.show_private_icon: |
|
9 | %if repo['dbrepo']['private'] and c.visual.show_private_icon: | |
10 | <li> |
|
|||
11 | <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/> |
|
10 | <img src="${h.url('/images/icons/lock.png')}" alt="${_('Private repository')}" class="repo_switcher_type"/> | |
|
11 | %elif not repo['dbrepo']['private'] and c.visual.show_public_icon: | |||
|
12 | <img src="${h.url('/images/icons/lock_open.png')}" alt="${_('Public repository')}" class="repo_switcher_type" /> | |||
|
13 | %endif | |||
12 |
|
|
14 | ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])} | |
13 |
|
|
15 | </li> | |
14 | %elif not repo['dbrepo']['private'] and c.visual.show_public_icon: |
|
|||
15 | <li> |
|
|||
16 | <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 | %endif |
|
|||
20 | %endfor |
|
16 | %endfor |
General Comments 0
You need to be logged in to leave comments.
Login now