Mercurial > kallithea
changeset 820:de5d9de45146 beta
fixed message about disabled stats, template fixes for summary page
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 09 Dec 2010 18:10:57 +0100 |
parents | 2ef22ee3b45a |
children | 2b5f0e7678d4 |
files | rhodecode/controllers/summary.py rhodecode/templates/summary/summary.html |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/summary.py Tue Dec 07 18:45:57 2010 +0100 +++ b/rhodecode/controllers/summary.py Thu Dec 09 18:10:57 2010 +0100 @@ -4,6 +4,7 @@ ~~~~~~~~~~~~~~ Summary controller for Rhodecode + :created_on: Apr 18, 2010 :author: marcink :copyright: (C) 2009-2010 Marcin Kuzminski <marcin@python-works.com> @@ -114,7 +115,7 @@ c.no_data_msg = _('No data loaded yet') run_task(get_commits_stats, c.repo_info.name, ts_min_y, ts_max_y) else: - c.no_data_msg = _('Statistics are disabled for this repository') + c.no_data_msg = _('Statistics update are disabled for this repository') c.ts_min = ts_min_m c.ts_max = ts_max_y @@ -124,7 +125,7 @@ if stats and stats.languages: - c.no_data = False + c.no_data = False is c.repo_info.dbrepo.enable_statistics lang_stats = json.loads(stats.languages) c.commit_data = stats.commit_activity c.overview_data = stats.commit_activity_combined
--- a/rhodecode/templates/summary/summary.html Tue Dec 07 18:45:57 2010 +0100 +++ b/rhodecode/templates/summary/summary.html Thu Dec 09 18:10:57 2010 +0100 @@ -619,7 +619,7 @@ </div> <div class="box"> <div class="title"> - <div class="breadcrumbs">${h.link_to(_('Last ten tags'),h.url('tags_home',repo_name=c.repo_name))}</div> + <div class="breadcrumbs">${h.link_to(_('Tags'),h.url('tags_home',repo_name=c.repo_name))}</div> </div> <div class="table"> <%include file='../tags/tags_data.html'/> @@ -630,7 +630,7 @@ </div> <div class="box"> <div class="title"> - <div class="breadcrumbs">${h.link_to(_('Last ten branches'),h.url('branches_home',repo_name=c.repo_name))}</div> + <div class="breadcrumbs">${h.link_to(_('Branches'),h.url('branches_home',repo_name=c.repo_name))}</div> </div> <div class="table"> <%include file='../branches/branches_data.html'/>