diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py --- a/kallithea/lib/helpers.py +++ b/kallithea/lib/helpers.py @@ -85,6 +85,7 @@ assert HasRepoGroupPermissionLevel assert HasRepoPermissionLevel # from utils2 assert age +assert credentials_filter assert fmt_date assert link_to_ref assert shorter @@ -354,9 +355,6 @@ def capitalize(x): def short_id(x): return x[:12] -def hide_credentials(x): - return ''.join(credentials_filter(x)) - def show_id(cs): """ diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html +++ b/kallithea/templates/summary/summary.html @@ -15,7 +15,7 @@ ##REMOTE %if c.db_repo.clone_uri: - - ${_('Clone from')} "${h.hide_credentials(c.db_repo.clone_uri)}" + - ${_('Clone from')} "${h.credentials_filter(c.db_repo.clone_uri)}" %endif