annotate rhodecode/templates/bookmarks/bookmarks_data.html @ 1770:184557472f5c beta

Implements #304 hashes in relevant places are displayed using monospaced font.
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 08 Dec 2011 04:32:42 +0200
parents 60a00fd76d58
children eaf09acf6872
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:
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
2 <table class="table_disp">
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3 <tr>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
4 <th class="left">${_('name')}</th>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
5 <th class="left">${_('date')}</th>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
6 <th class="left">${_('author')}</th>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
7 <th class="left">${_('revision')}</th>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 </tr>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 %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
10 <tr class="parity${cnt%2}">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
11 <td>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
12 <span class="logbooks">
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
13 <span class="bookbook">${h.link_to(book[0],
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
14 h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
15 </span>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
16 </td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
17 <td><span class="tooltip" title="${h.age(book[1].date)}">${book[1].date}</span></td>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
18 <td title="${book[1].author}">${h.person(book[1].author)}</td>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
19 <td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
20 <div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
21 <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>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
22 </div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
23 </td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
24 </tr>
1748
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 %endfor
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 </table>
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 %else:
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 ${_('There are no bookmarks yet')}
a3ee2611e6e8 implements #135 bookmark support for UI
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 %endif