tags_data.html
45 lines
| 1.8 KiB
| text/html
|
HtmlLexer
r1782 | %if c.repo_tags: | |||
r1888 | <div id="table_wrap" class="yui-skin-sam"> | |||
r1782 | <table id="tags_data"> | |||
<thead> | ||||
|
r3197 | <tr> | ||
|
r4116 | <th class="left">Raw name</th> ##notranslation | ||
r1782 | <th class="left">${_('Name')}</th> | |||
|
r4116 | <th class="left">Raw date</th> ##notranslation | ||
r1782 | <th class="left">${_('Date')}</th> | |||
<th class="left">${_('Author')}</th> | ||||
|
r4116 | <th class="left">Raw rev</th> ##notranslation | ||
r1782 | <th class="left">${_('Revision')}</th> | |||
r3010 | <th class="left">${_('Compare')}</th> | |||
|
r3197 | </tr> | ||
r1782 | </thead> | |||
|
r3197 | %for cnt,tag in enumerate(c.repo_tags.items()): | ||
<tr class="parity${cnt%2}"> | ||||
|
r4116 | <td>${tag[0]}</td> | ||
r636 | <td> | |||
<span class="logtags"> | ||||
<span class="tagtag">${h.link_to(tag[0], | ||||
r1770 | h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id))} | |||
</span> | ||||
r636 | </span> | |||
r1770 | </td> | |||
|
r4116 | <td>${tag[1]._timestamp}</td> | ||
r2427 | <td><span class="tooltip" title="${h.tooltip(h.age(tag[1].date))}">${h.fmt_date(tag[1].date)}</span></td> | |||
|
r3197 | <td title="${tag[1].author}">${h.person(tag[1].author)}</td> | ||
|
r4116 | <td>${tag[1].revision}</td> | ||
|
r3197 | <td> | ||
r1770 | <div> | |||
<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> | ||||
</div> | ||||
</td> | ||||
r3010 | <td> | |||
<input class="branch-compare" type="radio" name="compare_org" value="${tag[0]}"/> | ||||
<input class="branch-compare" type="radio" name="compare_other" value="${tag[0]}"/> | ||||
r3029 | </td> | |||
|
r3197 | </tr> | ||
%endfor | ||||
r547 | </table> | |||
r1782 | </div> | |||
r547 | %else: | |||
|
r3197 | ${_('There are no tags yet')} | ||
r1888 | %endif | |||