diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -1276,8 +1276,8 @@ div.label-summary label { #content div.box div.form div.fields div.field div.input input#clone_url, #content div.box div.form div.fields div.field div.input input#clone_url_id { - font-size: 16px; - padding: 2px; + font-size: 14px; + padding: 0 2px; } #content div.box div.form div.fields div.field div.file input { 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 @@ -85,6 +85,15 @@ +<%def name="repotag(repo)"> + %if h.is_hg(repo): + hg + %endif + %if h.is_git(repo): + git + %endif + + <%def name="repo_context_bar(current=None, rev=None)"> <% rev = None if rev == 'tip' else rev %> <% @@ -103,12 +112,7 @@

- %if h.is_hg(c.db_repo): - hg - %endif - %if h.is_git(c.db_repo): - git - %endif + ${repotag(c.db_repo)} ## public/private %if c.db_repo.private: diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html +++ b/kallithea/templates/data_table/_dt_elements.html @@ -2,6 +2,8 @@ ## usage: ## <%namespace name="dt" file="/data_table/_dt_elements.html"/> +<%namespace name="base" file="/base/base.html"/> + <%def name="quick_menu(repo_name)">

+ ${self.repotag(c.db_repo)}