annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 %if c.repo_bookmarks:
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 <table>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 <tr>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4 <th class="left">${_('date')}</th>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 <th class="left">${_('name')}</th>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 <th class="left">${_('author')}</th>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
7 <th class="left">${_('revision')}</th>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 <th class="left">${_('links')}</th>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 </tr>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
10 %for cnt,book in enumerate(c.repo_bookmarks.items()):
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 <tr class="parity${cnt%2}">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 <td><span class="tooltip" title="${h.age(book[1].date)}">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 ${book[1].date}</span>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
14 </td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 <td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
16 <span class="logbooks">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
17 <span class="bookbook">${h.link_to(book[0],
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
19 </span>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
20 </td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
21 <td title="${book[1].author}">${h.person(book[1].author)}</td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
22 <td>r${book[1].revision}:${h.short_id(book[1].raw_id)}</td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
23 <td class="nowrap">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
24 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")}
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 <span style="color:#515151">|</span>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id),class_="ui-button-small xsmall")}
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 </td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 </tr>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 %endfor
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 </table>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
31 %else:
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
32 ${_('There are no bookmarks yet')}
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
33 %endif