Show More
@@ -1,50 +1,49 b'' | |||||
1 | ## -*- coding: utf-8 -*- |
|
1 | ## -*- coding: utf-8 -*- | |
2 | <li> |
|
2 | <li> | |
3 | ${h.link_to('%s (%s)' % (_('Branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} |
|
3 | ${h.link_to('%s (%s)' % (_('Branches'),len(c.rhodecode_repo.branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} | |
4 | <ul> |
|
4 | <ul> | |
5 | %if c.rhodecode_repo.branches.values(): |
|
5 | %if c.rhodecode_repo.branches.values(): | |
6 | %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): |
|
6 | %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()): | |
7 | <li><div><pre>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=(branch[0] if '/' not in branch[0] else branch[1]), at=branch[0]))}</pre></div></li> |
|
7 | <li><div><pre>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=(branch[0] if '/' not in branch[0] else branch[1]), at=branch[0]))}</pre></div></li> | |
8 | %endfor |
|
8 | %endfor | |
9 | %else: |
|
9 | %else: | |
10 | <li>${h.link_to(_('There are no branches yet'),'#')}</li> |
|
10 | <li>${h.link_to(_('There are no branches yet'),'#')}</li> | |
11 | %endif |
|
11 | %endif | |
12 | </ul> |
|
12 | </ul> | |
13 | </li> |
|
13 | </li> | |
14 | %if c.rhodecode_repo.closed_branches.values(): |
|
14 | %if c.rhodecode_repo.closed_branches.values(): | |
15 | <li> |
|
15 | <li> | |
16 | ${h.link_to('%s (%s)' % (_('Closed Branches'),len(c.rhodecode_repo.closed_branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} |
|
16 | ${h.link_to('%s (%s)' % (_('Closed Branches'),len(c.rhodecode_repo.closed_branches.values()),),h.url('branches_home',repo_name=c.repo_name),class_='branches childs')} | |
17 | <ul> |
|
17 | <ul> | |
18 | <li><a>-</a></li> |
|
|||
19 | %for cnt,branch in enumerate(c.rhodecode_repo.closed_branches.items()): |
|
18 | %for cnt,branch in enumerate(c.rhodecode_repo.closed_branches.items()): | |
20 | <li><div><pre>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=(branch[0] if '/' not in branch[0] else branch[1]), at=branch[0]))}</pre></div></li> |
|
19 | <li><div><pre>${h.link_to('%s - %s' % (branch[0],h.short_id(branch[1])),h.url('files_home',repo_name=c.repo_name,revision=(branch[0] if '/' not in branch[0] else branch[1]), at=branch[0]))}</pre></div></li> | |
21 | %endfor |
|
20 | %endfor | |
22 | </ul> |
|
21 | </ul> | |
23 | </li> |
|
22 | </li> | |
24 | %endif |
|
23 | %endif | |
25 | <li> |
|
24 | <li> | |
26 | ${h.link_to('%s (%s)' % (_('Tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')} |
|
25 | ${h.link_to('%s (%s)' % (_('Tags'),len(c.rhodecode_repo.tags.values()),),h.url('tags_home',repo_name=c.repo_name),class_='tags childs')} | |
27 | <ul> |
|
26 | <ul> | |
28 | %if c.rhodecode_repo.tags.values(): |
|
27 | %if c.rhodecode_repo.tags.values(): | |
29 | %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): |
|
28 | %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()): | |
30 | <li><div><pre>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=(tag[0] if '/' not in tag[0] else tag[1]), at=tag[0]))}</pre></div></li> |
|
29 | <li><div><pre>${h.link_to('%s - %s' % (tag[0],h.short_id(tag[1])),h.url('files_home',repo_name=c.repo_name,revision=(tag[0] if '/' not in tag[0] else tag[1]), at=tag[0]))}</pre></div></li> | |
31 | %endfor |
|
30 | %endfor | |
32 | %else: |
|
31 | %else: | |
33 | <li>${h.link_to(_('There are no tags yet'),'#')}</li> |
|
32 | <li>${h.link_to(_('There are no tags yet'),'#')}</li> | |
34 | %endif |
|
33 | %endif | |
35 | </ul> |
|
34 | </ul> | |
36 | </li> |
|
35 | </li> | |
37 | %if c.rhodecode_repo.alias == 'hg': |
|
36 | %if c.rhodecode_repo.alias == 'hg': | |
38 | <li> |
|
37 | <li> | |
39 | ${h.link_to('%s (%s)' % (_('Bookmarks'),len(c.rhodecode_repo.bookmarks.values()),),h.url('bookmarks_home',repo_name=c.repo_name),class_='bookmarks childs')} |
|
38 | ${h.link_to('%s (%s)' % (_('Bookmarks'),len(c.rhodecode_repo.bookmarks.values()),),h.url('bookmarks_home',repo_name=c.repo_name),class_='bookmarks childs')} | |
40 | <ul> |
|
39 | <ul> | |
41 | %if c.rhodecode_repo.bookmarks.values(): |
|
40 | %if c.rhodecode_repo.bookmarks.values(): | |
42 | %for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()): |
|
41 | %for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()): | |
43 | <li><div><pre>${h.link_to('%s - %s' % (book[0],h.short_id(book[1])),h.url('files_home',repo_name=c.repo_name,revision=(book[0] if '/' not in book[0] else book[1]), at=book[0]))}</pre></div></li> |
|
42 | <li><div><pre>${h.link_to('%s - %s' % (book[0],h.short_id(book[1])),h.url('files_home',repo_name=c.repo_name,revision=(book[0] if '/' not in book[0] else book[1]), at=book[0]))}</pre></div></li> | |
44 | %endfor |
|
43 | %endfor | |
45 | %else: |
|
44 | %else: | |
46 | <li>${h.link_to(_('There are no bookmarks yet'),'#')}</li> |
|
45 | <li>${h.link_to(_('There are no bookmarks yet'),'#')}</li> | |
47 | %endif |
|
46 | %endif | |
48 | </ul> |
|
47 | </ul> | |
49 | </li> |
|
48 | </li> | |
50 | %endif |
|
49 | %endif |
General Comments 0
You need to be logged in to leave comments.
Login now