summary.html
80 lines
| 2.5 KiB
| text/html
|
HtmlLexer
Marcin Kuzminski
|
r74 | <%inherit file="base/base.html"/> | |
<%def name="title()"> | |||
${_('Repository managment')} | |||
</%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))} | |||
/ | |||
${_('summary')} | |||
</%def> | |||
<%def name="page_nav()"> | |||
<form action="{url}log"> | |||
{sessionvars%hiddenformentry} | |||
<dl class="search"> | |||
<dt><label>Search: </label></dt> | |||
<dd><input type="text" name="rev" /></dd> | |||
</dl> | |||
</form> | |||
<ul class="page-nav"> | |||
<li class="current">summary</li> | |||
<li><a href="{url}shortlog{sessionvars%urlparameter}">shortlog</a></li> | |||
<li><a href="{url}log{sessionvars%urlparameter}">changelog</a></li> | |||
<li><a href="{url}graph/{node|short}{sessionvars%urlparameter}">graph</a></li> | |||
<li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li> | |||
<li><a href="{url}branches{sessionvars%urlparameter}">branches</a></li> | |||
<li><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></li> | |||
</ul> | |||
</%def> | |||
<%def name="main()"> | |||
<h2 class="no-link no-border">${_('Mercurial Repository Overview')}</h2> | |||
<dl class="overview"> | |||
<dt>name</dt> | |||
<dd>${c.repo_info.name}</dd> | |||
<dt>description</dt> | |||
<dd>${c.repo_info.description}</dd> | |||
<dt>contact</dt> | |||
<dd>${c.repo_info.contact}</dd> | |||
<dt>last change</dt> | |||
<dd>${c.repo_info.last_change|n,self.f.rfc822date}</dd> | |||
</dl> | |||
<h2><a href="{url}shortlog{sessionvars%urlparameter}">Changes</a></h2> | |||
<table> | |||
%for cnt,cs in enumerate(c.repo_changesets): | |||
<tr class="parity${cnt%2}"> | |||
<td>${cs.date}</td> | |||
<td>${cs.author}</td> | |||
<td>${cs.message}</td> | |||
<td class="nowrap"> | |||
${h.link_to(u'changset')} | |||
| | |||
${h.link_to(u'files')} | |||
</td> | |||
</tr> | |||
%endfor | |||
<tr class="light"> | |||
<td colspan="4"><a class="list" href="{url}shortlog{sessionvars%urlparameter}">...</a></td> | |||
</tr> | |||
</table> | |||
<h2><a href="{url}tags{sessionvars%urlparameter}">Tags</a></h2> | |||
<table> | |||
{tags} | |||
<tr class="light"> | |||
<td colspan="3"><a class="list" href="{url}tags{sessionvars%urlparameter}">...</a></td> | |||
</tr> | |||
</table> | |||
<h2 class="no-link">Branches</h2> | |||
<table> | |||
{branches%branchentry} | |||
<tr class="light"> | |||
<td colspan="4"><a class="list" href="#">...</a></td> | |||
</tr> | |||
</table> | |||
</%def> |