Mercurial > kallithea
comparison rhodecode/templates/tags/tags_data.html @ 1770:184557472f5c beta
Implements #304
hashes in relevant places are displayed using monospaced font.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 08 Dec 2011 04:32:42 +0200 |
parents | 60a00fd76d58 |
children | eaf09acf6872 |
comparison
equal
deleted
inserted
replaced
1769:025f3333c769 | 1770:184557472f5c |
---|---|
1 %if c.repo_tags: | 1 %if c.repo_tags: |
2 <table> | 2 <table class="table_disp"> |
3 <tr> | 3 <tr> |
4 <th class="left">${_('date')}</th> | 4 <th class="left">${_('name')}</th> |
5 <th class="left">${_('name')}</th> | 5 <th class="left">${_('date')}</th> |
6 <th class="left">${_('author')}</th> | 6 <th class="left">${_('author')}</th> |
7 <th class="left">${_('revision')}</th> | 7 <th class="left">${_('revision')}</th> |
8 <th class="left">${_('links')}</th> | |
9 </tr> | 8 </tr> |
10 %for cnt,tag in enumerate(c.repo_tags.items()): | 9 %for cnt,tag in enumerate(c.repo_tags.items()): |
11 <tr class="parity${cnt%2}"> | 10 <tr class="parity${cnt%2}"> |
12 <td><span class="tooltip" title="${h.age(tag[1].date)}"> | |
13 ${tag[1].date}</span> | |
14 </td> | |
15 <td> | 11 <td> |
16 <span class="logtags"> | 12 <span class="logtags"> |
17 <span class="tagtag">${h.link_to(tag[0], | 13 <span class="tagtag">${h.link_to(tag[0], |
18 h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id))}</span> | 14 h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id))} |
15 </span> | |
19 </span> | 16 </span> |
20 </td> | 17 </td> |
18 <td><span class="tooltip" title="${h.age(tag[1].date)}">${tag[1].date}</span></td> | |
21 <td title="${tag[1].author}">${h.person(tag[1].author)}</td> | 19 <td title="${tag[1].author}">${h.person(tag[1].author)}</td> |
22 <td>r${tag[1].revision}:${h.short_id(tag[1].raw_id)}</td> | 20 <td> |
23 <td class="nowrap"> | 21 <div> |
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-btn xsmall")} | 22 <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id)}">r${tag[1].revision}:${h.short_id(tag[1].raw_id)}</a></pre> |
25 <span style="color:#515151">|</span> | 23 </div> |
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id),class_="ui-btn xsmall")} | 24 </td> |
27 </td> | |
28 </tr> | 25 </tr> |
29 %endfor | 26 %endfor |
30 </table> | 27 </table> |
31 %else: | 28 %else: |
32 ${_('There are no tags yet')} | 29 ${_('There are no tags yet')} |