Mercurial > kallithea
comparison pylons_app/templates/shortlog/shortlog_data.html @ 279:ba0523f440d2
#2: proposed changes to shortlog added header table description
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Jun 2010 16:33:22 +0200 |
parents | 7ec4463b6e53 |
children | 373ddb868bd6 |
comparison
equal
deleted
inserted
replaced
278:ed7abf925696 | 279:ba0523f440d2 |
---|---|
1 ## -*- coding: utf-8 -*- | 1 ## -*- coding: utf-8 -*- |
2 <%! | 2 <%! |
3 from pylons_app.lib import filters | 3 from pylons_app.lib import filters |
4 %> | 4 %> |
5 <table> | 5 <table class="table_disp"> |
6 <tr class="header"> | |
7 <td>${_('date')}</td> | |
8 <td>${_('author')}</td> | |
9 <td>${_('revision')}</td> | |
10 <td>${_('commit message')}</td> | |
11 <td>${_('branch')}</td> | |
12 <td>${_('tags')}</td> | |
13 <td>${_('links')}</td> | |
14 | |
15 </tr> | |
6 %for cnt,cs in enumerate(c.repo_changesets): | 16 %for cnt,cs in enumerate(c.repo_changesets): |
7 <tr class="parity${cnt%2}"> | 17 <tr class="parity${cnt%2}"> |
8 <td>${cs._ctx.date()|n,filters.age}</td> | 18 <td>${cs._ctx.date()|n,filters.age}</td> |
9 <td title="${cs.author}">${cs.author|n,filters.person}</td> | 19 <td title="${cs.author}">${cs.author|n,filters.person}</td> |
10 <td>r${cs.revision}</td> | 20 <td>r${cs.revision}</td> |
14 title=cs.message)} | 24 title=cs.message)} |
15 </td> | 25 </td> |
16 <td> | 26 <td> |
17 <span class="logtags"> | 27 <span class="logtags"> |
18 <span class="branchtag">${cs.branch}</span> | 28 <span class="branchtag">${cs.branch}</span> |
19 %for tag in cs.tags: | |
20 <span class="tagtag">${tag}</span> | |
21 %endfor | |
22 </span> | 29 </span> |
30 </td> | |
31 <td> | |
32 <span class="logtags"> | |
33 %for tag in cs.tags: | |
34 <span class="tagtag">${tag}</span> | |
35 %endfor | |
36 </span> | |
23 </td> | 37 </td> |
24 <td class="nowrap"> | 38 <td class="nowrap"> |
25 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} | 39 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))} |
26 | | 40 | |
27 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} | 41 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs.raw_id))} |