diff --git a/pylons_app/templates/summary/summary.html b/pylons_app/templates/summary/summary.html --- a/pylons_app/templates/summary/summary.html +++ b/pylons_app/templates/summary/summary.html @@ -1,7 +1,4 @@ <%inherit file="/base/base.html"/> -<%! -from pylons_app.lib import filters -%> <%def name="title()"> ${_('Repository managment')} @@ -41,7 +38,7 @@ E.onDOMReady(function(e){
${_('contact')}
${c.repo_info.contact}
${_('last change')}
-
${c.repo_info.last_change|n,filters.age} - ${c.repo_info.last_change|n,filters.rfc822date}
+
${h.age(c.repo_info.last_change)} - ${h.rfc822date(c.repo_info.last_change)}
${_('clone url')}
${_('download')}
@@ -63,100 +60,12 @@ E.onDOMReady(function(e){

${h.link_to(_('Last ten changes'),h.url('changelog_home',repo_name=c.repo_name))}

- - - - - - - - - - - - %for cnt,cs in enumerate(c.repo_changesets): - - - - - - - - - - %endfor -
${_('date')}${_('author')}${_('revision')}${_('commit message')}${_('branch')}${_('tags')}${_('links')}
${cs._ctx.date()|n,filters.age}${cs.author|n,filters.person}r${cs.revision}:${cs.raw_id} - ${h.link_to(h.truncate(cs.message,60), - h.url('changeset_home',repo_name=c.repo_name,revision=cs._short), - title=cs.message)} - - - ${cs.branch} - - - - %for tag in cs.tags: - ${tag} - %endfor - - - ${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))} -
+ <%include file='../shortlog/shortlog_data.html'/>

${h.link_to(_('Last ten tags'),h.url('tags_home',repo_name=c.repo_name))}

- - - - - - - - %for cnt,tag in enumerate(c.repo_tags.items()): - - - - - - - %endfor -
${_('date')}${_('revision')}${_('name')}${_('links')}
${tag[1]._ctx.date()|n,filters.age}r${tag[1].revision}:${tag[1].raw_id} - - ${h.link_to(tag[0], - h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id))} - - - ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=tag[1].raw_id))} - | - ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=tag[1].raw_id))} -
- + <%include file='../tags/tags_data.html'/> +

${h.link_to(_('Last ten branches'),h.url('branches_home',repo_name=c.repo_name))}

- - - - - - - - %for cnt,branch in enumerate(c.repo_branches.items()): - - - - - - - %endfor -
${_('date')}${_('revision')}${_('name')}${_('links')}
${branch[1]._ctx.date()|n,filters.age}r${branch[1].revision}:${branch[1].raw_id} - - ${h.link_to(branch[0], - h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))} - - - ${h.link_to(_('changeset'),h.url('changeset_home',repo_name=c.repo_name,revision=branch[1].raw_id))} - | - ${h.link_to(_('files'),h.url('files_home',repo_name=c.repo_name,revision=branch[1].raw_id))} -
+ <%include file='../branches/branches_data.html'/> \ No newline at end of file