comparison rhodecode/templates/branches/branches_data.html @ 636:ffd07396d315 beta

Fixes for raw_id, needed for git Renamed hg controller to home css html changes
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 26 Oct 2010 03:20:32 +0200
parents fcf599cd3404
children 6d37fe113da0
comparison
equal deleted inserted replaced
635:fd63782c4426 636:ffd07396d315
1 % if c.repo_branches: 1 % if c.repo_branches:
2 <table class="table_disp"> 2 <table class="table_disp">
3 <tr> 3 <tr>
4 <th class="left">${_('date')}</th> 4 <th class="left">${_('date')}</th>
5 <th class="left">${_('name')}</th>
6 <th class="left">${_('author')}</th>
5 <th class="left">${_('revision')}</th> 7 <th class="left">${_('revision')}</th>
6 <th class="left">${_('name')}</th>
7 <th class="left">${_('links')}</th> 8 <th class="left">${_('links')}</th>
8 </tr> 9 </tr>
9 %for cnt,branch in enumerate(c.repo_branches.items()): 10 %for cnt,branch in enumerate(c.repo_branches.items()):
10 <tr class="parity${cnt%2}"> 11 <tr class="parity${cnt%2}">
11 <td>${h.age(branch[1].date)}</td> 12 <td>${branch[1].date} - ${h.age(branch[1].date)}</td>
12 <td>r${branch[1].revision}:${branch[1].short_id}</td> 13 <td>
13 <td> 14 <span class="logtags">
14 <span class="logtags"> 15 <span class="branchtag">${h.link_to(branch[0],
15 <span class="branchtag">${h.link_to(branch[0], 16 h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span>
16 h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].short_id))}</span> 17 </span>
17 </span> 18 </td>
18 </td> 19 <td title="${branch[1].author}">${h.person(branch[1].author)}</td>
20 <td>r${branch[1].revision}:${h.short_id(branch[1].raw_id)}</td>
19 <td class="nowrap"> 21 <td class="nowrap">
20 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].short_id))} 22 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}
21 | 23 |
22 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].short_id))} 24 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))}
23 </td> 25 </td>
24 </tr> 26 </tr>
25 %endfor 27 %endfor
26 </table> 28 </table>
27 %else: 29 %else: