comparison pylons_app/templates/branches/branches.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 <%! from pylons_app.lib import filters %>
3 <%def name="title()">
4 ${_('Branches')}
5 </%def>
6 <%def name="breadcrumbs()">
7 ${h.link_to(u'Home',h.url('/'))}
8 /
9 ${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))}
10 /
11 ${_('branches')}
12 </%def>
13 <%def name="page_nav()">
14 <form action="log">
15 <dl class="search">
16 <dt><label>Search: </label></dt>
17 <dd><input type="text" name="rev" /></dd>
18 </dl>
19 </form>
20
21 ${self.menu('branches')}
22 </%def>
23 <%def name="main()">
24
25 <h2 class="no-link no-border">${_('Branches')}</h2>
26
27 <table>
28 %for cnt,branch in enumerate(c.repo_branches):
29 <tr class="parity${cnt%2}">
30 <td>${branch._ctx.date()|n,filters.age}</td>
31 <td></td>
32 <td>
33 <span class="logtags">
34 <span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span>
35 </span>
36 </td>
37 <td class="nowrap">
38 ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}
39 |
40 ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))}
41 </td>
42 </tr>
43 %endfor
44 </table>
45
46 </%def>