bookmarks_data.html
33 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r1782 | %if c.repo_bookmarks: | |||
r1888 | <div id="table_wrap" class="yui-skin-sam"> | |||
r1782 | <table id="bookmarks_data"> | |||
Mads Kiilerich
|
r3198 | <thead> | ||
Mads Kiilerich
|
r3197 | <tr> | ||
r1782 | <th class="left">${_('Name')}</th> | |||
<th class="left">${_('Date')}</th> | ||||
<th class="left">${_('Author')}</th> | ||||
<th class="left">${_('Revision')}</th> | ||||
Mads Kiilerich
|
r3197 | </tr> | ||
Mads Kiilerich
|
r3198 | </thead> | ||
%for cnt,book in enumerate(c.repo_bookmarks.items()): | ||||
Mads Kiilerich
|
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> | |||
Mads Kiilerich
|
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> | |||
Mads Kiilerich
|
r3197 | </tr> | ||
Mads Kiilerich
|
r3198 | %endfor | ||
r1748 | </table> | |||
r1782 | </div> | |||
r1748 | %else: | |||
Mads Kiilerich
|
r3197 | ${_('There are no bookmarks yet')} | ||
r1888 | %endif | |||