Mercurial > kallithea
comparison pylons_app/templates/tags/tags.html @ 127:20dc7a5eb748
Html changes and cleanups, made folders for html templates, implemented tags and branches pages
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 03 May 2010 19:07:54 +0200 |
parents | |
children | 3f01d02c2cc6 |
comparison
equal
deleted
inserted
replaced
126:cfddee9d3693 | 127:20dc7a5eb748 |
---|---|
1 <%inherit file="/base/base.html"/> | |
2 <%! | |
3 from pylons_app.lib import filters | |
4 %> | |
5 <%def name="title()"> | |
6 ${_('Tags')} | |
7 </%def> | |
8 <%def name="breadcrumbs()"> | |
9 ${h.link_to(u'Home',h.url('/'))} | |
10 / | |
11 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} | |
12 / | |
13 ${_('tags')} | |
14 </%def> | |
15 <%def name="page_nav()"> | |
16 <form action="log"> | |
17 <dl class="search"> | |
18 <dt><label>Search: </label></dt> | |
19 <dd><input type="text" name="rev" /></dd> | |
20 </dl> | |
21 </form> | |
22 | |
23 ${self.menu('tags')} | |
24 </%def> | |
25 <%def name="main()"> | |
26 | |
27 <h2 class="no-link no-border">${_('Tags')}</h2> | |
28 | |
29 <table> | |
30 %for cnt,tag in enumerate(c.repo_tags): | |
31 <tr class="parity${cnt%2}"> | |
32 <td>${tag._ctx.date()|n,filters.age}</td> | |
33 <td></td> | |
34 <td> | |
35 <span class="logtags"> | |
36 <span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span> | |
37 </span> | |
38 </td> | |
39 <td class="nowrap"> | |
40 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} | |
41 | | |
42 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))} | |
43 </td> | |
44 </tr> | |
45 %endfor | |
46 </table> | |
47 | |
48 </%def> |