Files
@ a3ee2611e6e8
Branch filter:
Location: kallithea/rhodecode/templates/bookmarks/bookmarks_data.html - annotation
a3ee2611e6e8
1.3 KiB
text/html
implements #135 bookmark support for UI
a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 | %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">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")}
<span style="color:#515151">|</span>
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")}
</td>
</tr>
%endfor
</table>
%else:
${_('There are no bookmarks yet')}
%endif
|