diff --git a/rhodecode/controllers/home.py b/rhodecode/controllers/home.py --- a/rhodecode/controllers/home.py +++ b/rhodecode/controllers/home.py @@ -64,6 +64,7 @@ class HomeController(BaseController): c.repos_list = sorted(c.cached_repo_list, key=itemgetter(sort_key), reverse=False) + c.repo_cnt = len(c.repos_list) return render('/index.html') def repo_switcher(self): diff --git a/rhodecode/templates/index.html b/rhodecode/templates/index.html --- a/rhodecode/templates/index.html +++ b/rhodecode/templates/index.html @@ -27,8 +27,12 @@
-
${_('Dashboard')} - +
+ + ${_('Dashboard - %s repositories' % c.repo_cnt)}
%if c.rhodecode_user.username != 'default': %if h.HasPermissionAny('hg.admin','hg.create.repository')():