comparison pylons_app/templates/tags/tags_data.html @ 282:237470e64bb8

switched filters into webhelpers for easy of usage. Rewrite of html to use predefined templates from branches shortlog tags, for DRY usage. Added info messages about empty branches/tags etc.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 13 Jun 2010 23:56:16 +0200
parents
children 558eb7c5028f
comparison
equal deleted inserted replaced
281:cd2ee462fc2c 282:237470e64bb8
1 %if c.repo_tags:
2 <table class="table_disp">
3 <tr class="header">
4 <td>${_('date')}</td>
5 <td>${_('revision')}</td>
6 <td>${_('name')}</td>
7 <td>${_('links')}</td>
8 </tr>
9 %for cnt,tag in enumerate(c.repo_tags.items()):
10 <tr class="parity${cnt%2}">
11 <td>${h.age(tag[1]._ctx.date())}</td>
12 <td>r${tag[1].revision}:${tag[1].raw_id}</td>
13 <td>
14 <span class="logtags">
15 <span class="tagtag">${h.link_to(tag[0],
16 h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id))}</span>
17 </span>
18 </td>
19 <td class="nowrap">
20 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id))}
21 |
22 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id))}
23 </td>
24 </tr>
25 %endfor
26 </table>
27 %else:
28 ${_('There are no tags yet')}
29 %endif