bookmarks_data.html
38 lines
| 1.5 KiB
| text/html
|
HtmlLexer
r1782 | %if c.repo_bookmarks: | |||
r1888 | <div id="table_wrap" class="yui-skin-sam"> | |||
r1782 | <table id="bookmarks_data"> | |||
|
r3198 | <thead> | ||
|
r3197 | <tr> | ||
r1782 | <th class="left">${_('Name')}</th> | |||
<th class="left">${_('Date')}</th> | ||||
<th class="left">${_('Author')}</th> | ||||
<th class="left">${_('Revision')}</th> | ||||
r3798 | <th class="left">${_('Compare')}</th> | |||
|
r3197 | </tr> | ||
|
r3198 | </thead> | ||
%for cnt,book in enumerate(c.repo_bookmarks.items()): | ||||
|
r3197 | <tr class="parity${cnt%2}"> | ||
r1748 | <td> | |||
<span class="logbooks"> | ||||
r3707 | <span class="booktag">${h.link_to(book[0], | |||
r1770 | h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span> | |||
r1748 | </span> | |||
r1770 | </td> | |||
r2427 | <td><span class="tooltip" title="${h.tooltip(h.age(book[1].date))}">${h.fmt_date(book[1].date)}</span></td> | |||
|
r3197 | <td title="${book[1].author}">${h.person(book[1].author)}</td> | ||
<td> | ||||
r1770 | <div> | |||
<pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id)}">r${book[1].revision}:${h.short_id(book[1].raw_id)}</a></pre> | ||||
</div> | ||||
r1888 | </td> | |||
r3798 | <td> | |||
<input class="branch-compare" type="radio" name="compare_org" value="${book[0]}"/> | ||||
<input class="branch-compare" type="radio" name="compare_other" value="${book[0]}"/> | ||||
</td> | ||||
|
r3197 | </tr> | ||
|
r3198 | %endfor | ||
r1748 | </table> | |||
r1782 | </div> | |||
r1748 | %else: | |||
|
r3197 | ${_('There are no bookmarks yet')} | ||
r1888 | %endif | |||