diff --git a/rhodecode/controllers/home.py b/rhodecode/controllers/home.py --- a/rhodecode/controllers/home.py +++ b/rhodecode/controllers/home.py @@ -56,14 +56,10 @@ class HomeController(BaseController): sort_key = current_sort_slug + '_sort' - c.repos_list = self.scm_model.get_repos(sort_key=sort_key) - c.repo_cnt = len(c.repos_list) - c.groups = Group.query().filter(Group.group_parent_id == None).all() - 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 @@ -32,7 +32,7 @@ id="q_filter" size="15" type="text" name="filter" value="${_('quick filter...')}"/> - ${_('Dashboard')} - ${c.repo_cnt} ${_('repositories')} + ${_('Dashboard')} - ${_('repositories')} %if c.rhodecode_user.username != 'default': %if h.HasPermissionAny('hg.admin','hg.create.repository')(): @@ -70,7 +70,7 @@