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"> | |||
<thead> | ||||
r1748 | <tr> | |||
r1782 | <th class="left">${_('Name')}</th> | |||
<th class="left">${_('Date')}</th> | ||||
<th class="left">${_('Author')}</th> | ||||
<th class="left">${_('Revision')}</th> | ||||
r1748 | </tr> | |||
r1782 | </thead> | |||
r1748 | %for cnt,book in enumerate(c.repo_bookmarks.items()): | |||
r1888 | <tr class="parity${cnt%2}"> | |||
r1748 | <td> | |||
<span class="logbooks"> | ||||
<span class="bookbook">${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> | |||
Vincent Duvert
|
r2416 | <td><span class="tooltip" title="${h.age(book[1].date)}">${h.fmt_date(book[1].date)}</span></td> | ||
r1748 | <td title="${book[1].author}">${h.person(book[1].author)}</td> | |||
r1770 | <td> | |||
<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> | |||
r1770 | </tr> | |||
r1748 | %endfor | |||
</table> | ||||
r1782 | </div> | |||
r1748 | %else: | |||
${_('There are no bookmarks yet')} | ||||
r1888 | %endif | |||