branches.html
38 lines
| 1.1 KiB
| text/html
|
HtmlLexer
r127 | <%inherit file="/base/base.html"/> | ||
<%! from pylons_app.lib import filters %> | |||
<%def name="title()"> | |||
${_('Branches')} | |||
</%def> | |||
<%def name="breadcrumbs()"> | |||
${h.link_to(u'Home',h.url('/'))} | |||
/ | |||
${h.link_to(c.repo_name,h.url('summary_home',repo_name=c.repo_name))} | |||
/ | |||
${_('branches')} | |||
</%def> | |||
<%def name="page_nav()"> | |||
r189 | ${self.menu('branches')} | ||
r127 | </%def> | ||
<%def name="main()"> | |||
<h2 class="no-link no-border">${_('Branches')}</h2> | |||
<table> | |||
r277 | %for cnt,branch in enumerate(c.repo_branches.items()): | ||
r127 | <tr class="parity${cnt%2}"> | ||
r277 | <td>${branch[1]._ctx.date()|n,filters.age}</td> | ||
r127 | <td> | ||
<span class="logtags"> | |||
r277 | <span class="branchtag">${h.link_to(branch[0], | ||
h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))}</span> | |||
r127 | </span> | ||
</td> | |||
<td class="nowrap"> | |||
r277 | ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))} | ||
r127 | | | ||
r277 | ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))} | ||
r127 | </td> | ||
</tr> | |||
%endfor | |||
</table> | |||
</%def> |