<%inherit file="/base/base.html"/> <%def name="title()"> ${_('%s Statistics') % c.repo_name} %if c.rhodecode_name: · ${c.rhodecode_name} %endif <%def name="breadcrumbs_links()"> ${_('Statistics')} <%def name="page_nav()"> ${self.menu('repositories')} <%def name="head_extra()"> <%def name="main()"> ${self.repo_context_bar('summary')} <% summary = lambda n:{False:'summary-short'}.get(n) %>
${self.breadcrumbs()}
%if c.no_data: ${c.no_data_msg} %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): ${h.link_to(_('Enable'),h.url('edit_repo',repo_name=c.repo_name),class_="btn btn-mini")} %endif %else: ${_('Stats gathered: ')} ${c.stats_percentage}% %endif