diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -81,11 +81,11 @@ -<%def name="repolabel(repo)"> - %if h.is_hg(repo): +<%def name="repolabel(repo_type)"> + %if repo_type == 'hg': hg %endif - %if h.is_git(repo): + %if repo_type == 'git': git %endif @@ -97,7 +97,7 @@