bookmarks_data.html
28 lines
| 1.1 KiB
| text/html
|
HtmlLexer
r1748 | %if c.repo_bookmarks: | ||
r1770 | <table class="table_disp"> | ||
r1748 | <tr> | ||
r1770 | <th class="left">${_('name')}</th> | ||
<th class="left">${_('date')}</th> | |||
<th class="left">${_('author')}</th> | |||
<th class="left">${_('revision')}</th> | |||
r1748 | </tr> | ||
%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> | |||
%else: | |||
${_('There are no bookmarks yet')} | |||
%endif |