annotate rhodecode/templates/switch_to_list.html @ 4021:b619842f173d

removed obsolete separator in closed branches view
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 19 Jun 2013 00:23:51 +0200
parents 218ed589e44a
children ffd45b185016
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
1 ## -*- coding: utf-8 -*-
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <li>
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3425
diff changeset
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')}
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 <ul>
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 %if c.rhodecode_repo.branches.values():
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 %for cnt,branch in enumerate(c.rhodecode_repo.branches.items()):
3425
46e10b3de4e3 added same switch to logic for tags and bookmarks containing /.
Marcin Kuzminski <marcin@python-works.com>
parents: 3424
diff changeset
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>
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 %endfor
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 %else:
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 <li>${h.link_to(_('There are no branches yet'),'#')}</li>
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 %endif
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
12 </ul>
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 </li>
4020
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
14 %if c.rhodecode_repo.closed_branches.values():
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
15 <li>
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
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')}
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
17 <ul>
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
18 %for cnt,branch in enumerate(c.rhodecode_repo.closed_branches.items()):
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
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>
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
20 %endfor
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
21 </ul>
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
22 </li>
218ed589e44a branch selectors: show closed branches too
Mads Kiilerich <madski@unity3d.com>
parents: 3654
diff changeset
23 %endif
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24 <li>
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3425
diff changeset
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')}
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 <ul>
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 %if c.rhodecode_repo.tags.values():
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 %for cnt,tag in enumerate(c.rhodecode_repo.tags.items()):
3425
46e10b3de4e3 added same switch to logic for tags and bookmarks containing /.
Marcin Kuzminski <marcin@python-works.com>
parents: 3424
diff changeset
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>
1608
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 %endfor
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31 %else:
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
32 <li>${h.link_to(_('There are no tags yet'),'#')}</li>
0069657aaf42 lazy load of branches and tags menu
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 %endif
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
34 </ul>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
35 </li>
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
36 %if c.rhodecode_repo.alias == 'hg':
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
37 <li>
3654
ec6354949623 Fix a lot of casings - use standard casing in most places
Mads Kiilerich <madski@unity3d.com>
parents: 3425
diff changeset
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')}
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
39 <ul>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
40 %if c.rhodecode_repo.bookmarks.values():
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
41 %for cnt,book in enumerate(c.rhodecode_repo.bookmarks.items()):
3425
46e10b3de4e3 added same switch to logic for tags and bookmarks containing /.
Marcin Kuzminski <marcin@python-works.com>
parents: 3424
diff changeset
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>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
43 %endfor
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
44 %else:
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
45 <li>${h.link_to(_('There are no bookmarks yet'),'#')}</li>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents: 1608
diff changeset
46 %endif
1888
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
47 </ul>
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
48 </li>
f91d3f9b7230 White-space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 1770
diff changeset
49 %endif