Files
@ cfddee9d3693
Branch filter:
Location: kallithea/pylons_app/templates/summary.html - annotation
cfddee9d3693
3.5 KiB
text/html
Updated summary page
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | cdf4fda66dd9 db39d0ca5308 db39d0ca5308 db39d0ca5308 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 670713507d03 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 25e01cb65282 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 670713507d03 cdf4fda66dd9 670713507d03 cdf4fda66dd9 670713507d03 cdf4fda66dd9 670713507d03 db39d0ca5308 670713507d03 cfddee9d3693 670713507d03 670713507d03 670713507d03 670713507d03 670713507d03 670713507d03 670713507d03 670713507d03 670713507d03 cdf4fda66dd9 cdf4fda66dd9 3ac4350b7848 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 db39d0ca5308 cdf4fda66dd9 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 ad2500720b02 cdf4fda66dd9 3ac4350b7848 cdf4fda66dd9 3ac4350b7848 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 3ac4350b7848 cdf4fda66dd9 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 928416088790 cdf4fda66dd9 cdf4fda66dd9 3ac4350b7848 cdf4fda66dd9 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 cfddee9d3693 928416088790 cdf4fda66dd9 cdf4fda66dd9 cdf4fda66dd9 | <%inherit file="base/base.html"/>
<%!
from pylons_app.lib import filters
%>
<%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="log">
<dl class="search">
<dt><label>Search: </label></dt>
<dd><input type="text" name="rev" /></dd>
</dl>
</form>
${self.menu('summary')}
</%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,filters.rfc822date} - ${c.repo_info.last_change|n,filters.age}</dd>
<dt>${_('url')}</dt>
<dd><pre>hg clone <a href="${c.clone_repo_url}">${c.clone_repo_url}</a></pre></dd>
<dt>${_('Download')}</dt>
<dd>
%for archive in c.repo_info._get_archives():
| <a href="/${c.repo_info.name}/archive/${archive['node']}${archive['extension']}">
${c.repo_info.name}.${archive['type']}
</a>
%endfor
|
</dd>
</dl>
<h2>${h.link_to(_('Changes'),h.url('changelog_home',repo_name=c.repo_name))}</h2>
<table>
%for cnt,cs in enumerate(c.repo_changesets):
<tr class="parity${cnt%2}">
<td>${cs._ctx.date()|n,filters.age}</td>
<td>${cs.author}</td>
<td>
${h.link_to(cs.message,h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))}
<span class="logtags">
<span class="branchtag">${cs.branch}</span>
%for tag in cs.tags:
<span class="tagtag">${tag}</span>
%endfor
</span>
</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=cs._short))}
|
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=cs._short))}
</td>
</tr>
%endfor
</table>
<h2>${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</h2>
<table>
%for cnt,tag in enumerate(c.repo_tags):
<tr class="parity${cnt%2}">
<td>${tag._ctx.date()|n,filters.age}</td>
<td></td>
<td>
<span class="logtags">
<span class="tagtag">${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}</span>
</span>
</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))}
|
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag._short))}
</td>
</tr>
%endfor
</table>
<h2>${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</h2>
<table>
%for cnt,branch in enumerate(c.repo_branches):
<tr class="parity${cnt%2}">
<td>${branch._ctx.date()|n,filters.age}</td>
<td></td>
<td>
<span class="logtags">
<span class="branchtag">${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}</span>
</span>
</td>
<td class="nowrap">
${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))}
|
${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch._short))}
</td>
</tr>
%endfor
</table>
</%def>
|