##// END OF EJS Templates
fixed message about disabled stats, template fixes for summary page
marcink -
r820:de5d9de4 beta
parent child Browse files
Show More
@@ -4,6 +4,7 b''
4 4 ~~~~~~~~~~~~~~
5 5
6 6 Summary controller for Rhodecode
7
7 8 :created_on: Apr 18, 2010
8 9 :author: marcink
9 10 :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com>
@@ -114,7 +115,7 b' class SummaryController(BaseController):'
114 115 c.no_data_msg = _('No data loaded yet')
115 116 run_task(get_commits_stats, c.repo_info.name, ts_min_y, ts_max_y)
116 117 else:
117 c.no_data_msg = _('Statistics are disabled for this repository')
118 c.no_data_msg = _('Statistics update are disabled for this repository')
118 119 c.ts_min = ts_min_m
119 120 c.ts_max = ts_max_y
120 121
@@ -124,7 +125,7 b' class SummaryController(BaseController):'
124 125
125 126
126 127 if stats and stats.languages:
127 c.no_data = False
128 c.no_data = False is c.repo_info.dbrepo.enable_statistics
128 129 lang_stats = json.loads(stats.languages)
129 130 c.commit_data = stats.commit_activity
130 131 c.overview_data = stats.commit_activity_combined
@@ -619,7 +619,7 b''
619 619 </div>
620 620 <div class="box">
621 621 <div class="title">
622 <div class="breadcrumbs">${h.link_to(_('Last ten tags'),h.url('tags_home',repo_name=c.repo_name))}</div>
622 <div class="breadcrumbs">${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</div>
623 623 </div>
624 624 <div class="table">
625 625 <%include file='../tags/tags_data.html'/>
@@ -630,7 +630,7 b''
630 630 </div>
631 631 <div class="box">
632 632 <div class="title">
633 <div class="breadcrumbs">${h.link_to(_('Last ten branches'),h.url('branches_home',repo_name=c.repo_name))}</div>
633 <div class="breadcrumbs">${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</div>
634 634 </div>
635 635 <div class="table">
636 636 <%include file='../branches/branches_data.html'/>
General Comments 0
You need to be logged in to leave comments. Login now