diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html --- a/rhodecode/templates/summary/summary.html +++ b/rhodecode/templates/summary/summary.html @@ -59,10 +59,10 @@ %endif %endif: ##REPO TYPE - %if c.dbrepo.repo_type =='hg': + %if h.is_hg(c.dbrepo): ${_('Mercurial repository')} %endif - %if c.dbrepo.repo_type =='git': + %if h.is_git(c.dbrepo): ${_('Git repository')} %endif