annotate rhodecode/templates/tags/tags_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
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 %if c.repo_tags:
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
2 <table class="table_disp">
362
558eb7c5028f version bump to 0.8
Marcin Kuzminski <marcin@python-works.com>
parents: 282
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>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
8 </tr>
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
9 %for cnt,tag in enumerate(c.repo_tags.items()):
636
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
10 <tr class="parity${cnt%2}">
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
11 <td>
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
12 <span class="logtags">
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
13 <span class="tagtag">${h.link_to(tag[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=tag[1].raw_id))}
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
15 </span>
636
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
16 </span>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
17 </td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
18 <td><span class="tooltip" title="${h.age(tag[1].date)}">${tag[1].date}</span></td>
636
ffd07396d315 Fixes for raw_id, needed for git
Marcin Kuzminski <marcin@python-works.com>
parents: 633
diff changeset
19 <td title="${tag[1].author}">${h.person(tag[1].author)}</td>
1770
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
20 <td>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
21 <div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
22 <pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id)}">r${tag[1].revision}:${h.short_id(tag[1].raw_id)}</a></pre>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
23 </div>
184557472f5c Implements #304
Marcin Kuzminski <marcin@python-works.com>
parents: 1756
diff changeset
24 </td>
282
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
25 </tr>
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
26 %endfor
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
27 </table>
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
28 %else:
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
29 ${_('There are no tags yet')}
237470e64bb8 switched filters into webhelpers for easy of usage.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
30 %endif