From 2e08f6bd4ab567bf08f4968934aef8be78d0de93 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Fri, 24 Feb 2017 14:33:06 +0100 Subject: [PATCH] ui: use monospace fonts on clone urls. --- rhodecode/public/css/main-content.less | 4 ++++ rhodecode/templates/pullrequests/pullrequest_show.mako | 8 ++++---- rhodecode/templates/summary/components.mako | 8 ++++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/rhodecode/public/css/main-content.less b/rhodecode/public/css/main-content.less index 06b469ea..454b590b 100644 --- a/rhodecode/public/css/main-content.less +++ b/rhodecode/public/css/main-content.less @@ -81,6 +81,10 @@ } +.input-monospace { + font-family: @font-family-monospace; +} + .fields { label { color: @grey2; diff --git a/rhodecode/templates/pullrequests/pullrequest_show.mako b/rhodecode/templates/pullrequests/pullrequest_show.mako index d81ab8e8..e808b991 100644 --- a/rhodecode/templates/pullrequests/pullrequest_show.mako +++ b/rhodecode/templates/pullrequests/pullrequest_show.mako @@ -86,9 +86,9 @@
%if h.is_hg(c.pull_request.source_repo): - + %elif h.is_git(c.pull_request.source_repo): - + %endif
@@ -123,9 +123,9 @@ % if not c.pull_request.is_closed() and c.pull_request.shadow_merge_ref:
%if h.is_hg(c.pull_request.target_repo): - + %elif h.is_git(c.pull_request.target_repo): - + %endif
% else: diff --git a/rhodecode/templates/summary/components.mako b/rhodecode/templates/summary/components.mako index 682ee909..87dfd03c 100644 --- a/rhodecode/templates/summary/components.mako +++ b/rhodecode/templates/summary/components.mako @@ -49,8 +49,8 @@ ${_('Read-only url')}:
- - + + ${_('Show by ID')}

${_('SVN Protocol is disabled. To enable it, see the')} ${_('documentation here')}.

@@ -60,8 +60,8 @@ ${_('Clone url')}:
- - + + ${_('Show by ID')}