## -*- coding: utf-8 -*- <%inherit file="base/base.html"/> <%def name="title()"> ${c.hg_app_name} <%def name="breadcrumbs()"> ${c.hg_app_name} <%def name="page_nav()"> ${self.menu('home')} <%def name="main()"> <%def name="get_sort(name)"> <%name_slug = name.lower().replace(' ','_') %> %if name_slug == c.cs_slug: ${name} %else: ${name} %endif
${_('Dashboard')}
##%if h.HasPermissionAll('repository.create')(): ##%endif
%for cnt,repo in enumerate(c.repos_list): %if h.HasRepoPermissionAny('repository.write','repository.read','repository.admin')(repo['name'],'main page check'): %endif %endfor
${get_sort(_('Name'))} ${get_sort(_('Description'))} ${get_sort(_('Last change'))} ${get_sort(_('Tip'))} ${get_sort(_('Contact'))} ${_('RSS')} ${_('Atom')}
%if repo['repo'].dbrepo.private: ${_('private')} %else: ${_('public')} %endif ${h.link_to(repo['name'], h.url('summary_home',repo_name=repo['name']))} ${h.truncate(repo['description'],60)} ${h.age(repo['last_change'])} ${h.link_to_if(repo['rev']>=0,'r%s:%s' % (repo['rev'],repo['tip']), h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']), class_="tooltip", tooltip_title=h.tooltip(repo['last_msg']))} ${h.person(repo['contact'])}