<%inherit file="/base/base.html"/> <%! from pylons_app.lib import filters %> <%def name="title()"> ${_('Repository managment')} <%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 name="page_nav()"> ${self.menu('summary')} <%def name="main()">
${_('name')}
${c.repo_info.name}
${_('description')}
${c.repo_info.description}
${_('contact')}
${c.repo_info.contact}
${_('last change')}
${c.repo_info.last_change|n,filters.rfc822date} - ${c.repo_info.last_change|n,filters.age}
${_('url')}
hg clone ${c.clone_repo_url}
${_('Download')}
%for cnt,archive in enumerate(c.repo_info._get_archives()): %if cnt >=1: | %endif ${h.link_to(c.repo_info.name+'.'+archive['type'], h.url('files_archive_home',repo_name=c.repo_info.name, revision='tip',fileformat=archive['extension']))} %endfor

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

<%def name="message_slug(msg)"> <% limit = 60 if len(msg) > limit: return msg[:limit]+'...' else: return msg %> %for cnt,cs in enumerate(c.repo_changesets): %endfor
${cs._ctx.date()|n,filters.age} ${cs.author|n,filters.person} r${cs.revision} ${h.link_to(message_slug(cs.message), 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))}

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

%for cnt,tag in enumerate(c.repo_tags): %endfor
${tag._ctx.date()|n,filters.age} ${h.link_to(tag.tags[-1],h.url('changeset_home',repo_name=c.repo_name,revision=tag._short))} ${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))}

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

%for cnt,branch in enumerate(c.repo_branches): %endfor
${branch._ctx.date()|n,filters.age} ${h.link_to(branch.branch,h.url('changeset_home',repo_name=c.repo_name,revision=branch._short))} ${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))}