diff --git a/rhodecode/templates/summary/statistics.html b/rhodecode/templates/summary/statistics.html new file mode 100644 --- /dev/null +++ b/rhodecode/templates/summary/statistics.html @@ -0,0 +1,450 @@ +<%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 +
+
+
+
+ +
+
+
+
+
+
+
+
+ + + + +