Files
@ ad49bbd8f984
Branch filter:
Location: kallithea/rhodecode/templates/switch_to_list.html - annotation
ad49bbd8f984
2.5 KiB
text/html
changelog - should refer to Mercurial repository logs instead
f91d3f9b7230 0069657aaf42 ffd45b185016 0069657aaf42 0069657aaf42 0069657aaf42 46e10b3de4e3 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 f91d3f9b7230 0069657aaf42 218ed589e44a 218ed589e44a ffd45b185016 218ed589e44a 218ed589e44a 218ed589e44a 218ed589e44a 218ed589e44a 218ed589e44a 218ed589e44a 0069657aaf42 ffd45b185016 0069657aaf42 0069657aaf42 0069657aaf42 46e10b3de4e3 0069657aaf42 0069657aaf42 0069657aaf42 0069657aaf42 f91d3f9b7230 a3ee2611e6e8 f91d3f9b7230 a3ee2611e6e8 ffd45b185016 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 46e10b3de4e3 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 f91d3f9b7230 f91d3f9b7230 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<li>
<a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-code-fork"></i> ${'%s (%s)' % (_('Branches'),len(c.rhodecode_repo.branches.values()),)}</a>
<ul>
%if c.rhodecode_repo.branches.values():
%for cnt,branch in enumerate(c.rhodecode_repo.branches.items()):
<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>
%endfor
%else:
<li>${h.link_to(_('There are no branches yet'),'#')}</li>
%endif
</ul>
</li>
%if c.rhodecode_repo.closed_branches.values():
<li>
<a href="${h.url('branches_home',repo_name=c.repo_name)}" class="childs"><i class="icon-code-fork"></i> ${'%s (%s)' % (_('Closed Branches'),len(c.rhodecode_repo.closed_branches.values()))}</a>
<ul>
%for cnt,branch in enumerate(c.rhodecode_repo.closed_branches.items()):
<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>
%endfor
</ul>
</li>
%endif
<li>
<a href="${h.url('tags_home',repo_name=c.repo_name)}" class="childs"><i class="icon-tag"></i> ${'%s (%s)' % (_('Tags'),len(c.rhodecode_repo.tags.values()),)}</a>
<ul>
%if c.rhodecode_repo.tags.values():
%for cnt,tag in enumerate(c.rhodecode_repo.tags.items()):
<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>
%endfor
%else:
<li>${h.link_to(_('There are no tags yet'),'#')}</li>
%endif
</ul>
</li>
%if c.rhodecode_repo.alias == 'hg':
<li>
<a href="${h.url('bookmarks_home',repo_name=c.repo_name)}" class="childs"><i class="icon-bookmark"></i> ${'%s (%s)' % (_('Bookmarks'),len(c.rhodecode_repo.bookmarks.values()),)}</a>
<ul>
%if c.rhodecode_repo.bookmarks.values():
%for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()):
<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>
%endfor
%else:
<li>${h.link_to(_('There are no bookmarks yet'),'#')}</li>
%endif
</ul>
</li>
%endif
|