Files
@ 9edd6ac132f0
Branch filter:
Location: kallithea/rhodecode/templates/bookmarks/bookmarks_data.html - annotation
9edd6ac132f0
1.1 KiB
text/html
Added sorting into journal and admin pages
- code garden to reuse some blocks and make it consistent on different views
- code garden to reuse some blocks and make it consistent on different views
a3ee2611e6e8 184557472f5c a3ee2611e6e8 184557472f5c 184557472f5c 184557472f5c 184557472f5c a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 184557472f5c a3ee2611e6e8 184557472f5c 184557472f5c a3ee2611e6e8 184557472f5c 184557472f5c 184557472f5c 184557472f5c 184557472f5c 184557472f5c a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 a3ee2611e6e8 | %if c.repo_bookmarks:
<table class="table_disp">
<tr>
<th class="left">${_('name')}</th>
<th class="left">${_('date')}</th>
<th class="left">${_('author')}</th>
<th class="left">${_('revision')}</th>
</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],
h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
</span>
</td>
<td><span class="tooltip" title="${h.age(book[1].date)}">${book[1].date}</span></td>
<td title="${book[1].author}">${h.person(book[1].author)}</td>
<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>
%endfor
</table>
%else:
${_('There are no bookmarks yet')}
%endif
|