Mercurial > kallithea
comparison rhodecode/templates/branches/branches_data.html @ 1782:eaf09acf6872 beta
added sorting to bookmarks tags and branches
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 17 Dec 2011 21:31:54 +0200 |
parents | 184557472f5c |
children | f91d3f9b7230 |
comparison
equal
deleted
inserted
replaced
1781:089c81cf04d9 | 1782:eaf09acf6872 |
---|---|
1 %if c.repo_branches: | 1 %if c.repo_branches: |
2 <table class="table_disp"> | 2 <div id="table_wrap" class="yui-skin-sam"> |
3 <table id="branches_data"> | |
4 <thead> | |
3 <tr> | 5 <tr> |
4 <th class="left">${_('name')}</th> | 6 <th class="left">${_('name')}</th> |
5 <th class="left">${_('date')}</th> | 7 <th class="left">${_('date')}</th> |
6 <th class="left">${_('author')}</th> | 8 <th class="left">${_('author')}</th> |
7 <th class="left">${_('revision')}</th> | 9 <th class="left">${_('revision')}</th> |
8 </tr> | 10 </tr> |
11 </thead> | |
9 %for cnt,branch in enumerate(c.repo_branches.items()): | 12 %for cnt,branch in enumerate(c.repo_branches.items()): |
10 <tr class="parity${cnt%2}"> | 13 <tr class="parity${cnt%2}"> |
11 <td> | 14 <td> |
12 <span class="logtags"> | 15 <span class="logtags"> |
13 <span class="branchtag">${h.link_to(branch[0], | 16 <span class="branchtag">${h.link_to(branch[0], |
41 </td> | 44 </td> |
42 </tr> | 45 </tr> |
43 %endfor | 46 %endfor |
44 %endif | 47 %endif |
45 </table> | 48 </table> |
49 </div> | |
46 %else: | 50 %else: |
47 ${_('There are no branches yet')} | 51 ${_('There are no branches yet')} |
48 %endif | 52 %endif |