bookmarks_data.html
32 lines
| 1.3 KiB
| text/html
|
HtmlLexer
r1748 | %if c.repo_bookmarks: | ||
<table> | |||
<tr> | |||
<th class="left">${_('date')}</th> | |||
<th class="left">${_('name')}</th> | |||
<th class="left">${_('author')}</th> | |||
<th class="left">${_('revision')}</th> | |||
<th class="left">${_('links')}</th> | |||
</tr> | |||
%for cnt,book in enumerate(c.repo_bookmarks.items()): | |||
<tr class="parity${cnt%2}"> | |||
<td><span class="tooltip" title="${h.age(book[1].date)}"> | |||
${book[1].date}</span> | |||
</td> | |||
<td> | |||
<span class="logbooks"> | |||
<span class="bookbook">${h.link_to(book[0], | |||
h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span> | |||
</span> | |||
</td> | |||
<td title="${book[1].author}">${h.person(book[1].author)}</td> | |||
<td>r${book[1].revision}:${h.short_id(book[1].raw_id)}</td> | |||
<td class="nowrap"> | |||
r1756 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")} | ||
r1748 | <span style="color:#515151">|</span> | ||
r1756 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-btn xsmall")} | ||
r1748 | </td> | ||
</tr> | |||
%endfor | |||
</table> | |||
%else: | |||
${_('There are no bookmarks yet')} | |||
%endif |