bookmarks_data.html
32 lines
| 1.2 KiB
| text/html
|
HtmlLexer
r1782 | %if c.repo_bookmarks: | ||
<div id="table_wrap" class="yui-skin-sam"> | |||
<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()): | ||
<tr class="parity${cnt%2}"> | |||
<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> | ||
<td><span class="tooltip" title="${h.age(book[1].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> | |||
</td> | |||
</tr> | |||
r1748 | %endfor | ||
</table> | |||
r1782 | </div> | ||
r1748 | %else: | ||
${_('There are no bookmarks yet')} | |||
%endif |