Mercurial > kallithea
comparison rhodecode/templates/bookmarks/bookmarks_data.html @ 1748:a3ee2611e6e8 beta
implements #135 bookmark support for UI
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 02 Dec 2011 00:15:26 +0200 |
parents | |
children | 60a00fd76d58 |
comparison
equal
deleted
inserted
replaced
1747:8804715404c9 | 1748:a3ee2611e6e8 |
---|---|
1 %if c.repo_bookmarks: | |
2 <table> | |
3 <tr> | |
4 <th class="left">${_('date')}</th> | |
5 <th class="left">${_('name')}</th> | |
6 <th class="left">${_('author')}</th> | |
7 <th class="left">${_('revision')}</th> | |
8 <th class="left">${_('links')}</th> | |
9 </tr> | |
10 %for cnt,book in enumerate(c.repo_bookmarks.items()): | |
11 <tr class="parity${cnt%2}"> | |
12 <td><span class="tooltip" title="${h.age(book[1].date)}"> | |
13 ${book[1].date}</span> | |
14 </td> | |
15 <td> | |
16 <span class="logbooks"> | |
17 <span class="bookbook">${h.link_to(book[0], | |
18 h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span> | |
19 </span> | |
20 </td> | |
21 <td title="${book[1].author}">${h.person(book[1].author)}</td> | |
22 <td>r${book[1].revision}:${h.short_id(book[1].raw_id)}</td> | |
23 <td class="nowrap"> | |
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")} | |
25 <span style="color:#515151">|</span> | |
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")} | |
27 </td> | |
28 </tr> | |
29 %endfor | |
30 </table> | |
31 %else: | |
32 ${_('There are no bookmarks yet')} | |
33 %endif |