# HG changeset patch
# User Marcin Kuzminski
# Date 2017-02-25 09:20:10
# Node ID 337b0a059dafb0bbf2c3c1a6f66db804f660e60a
# Parent f85bca1ff89b441ece6321db69d8c02e96de8094
helper-blocks: fix pre formatting only for auth plugin helper texts.
- leave other as they can break if we apply same for all helper blocks.
diff --git a/rhodecode/public/css/main-content.less b/rhodecode/public/css/main-content.less
--- a/rhodecode/public/css/main-content.less
+++ b/rhodecode/public/css/main-content.less
@@ -61,7 +61,9 @@
.help-block {
display: block;
margin-left: @label-width;
- white-space: pre;
+ &.pre-formatting {
+ white-space: pre;
+ }
}
.action_button {
diff --git a/rhodecode/templates/admin/auth/plugin_settings.mako b/rhodecode/templates/admin/auth/plugin_settings.mako
--- a/rhodecode/templates/admin/auth/plugin_settings.mako
+++ b/rhodecode/templates/admin/auth/plugin_settings.mako
@@ -72,7 +72,7 @@
${errors.get(node.name)}
%endif
- ${node.description}
+ ${node.description}
%endfor
diff --git a/rhodecode/templates/admin/repos/repo_edit_vcs.mako b/rhodecode/templates/admin/repos/repo_edit_vcs.mako
--- a/rhodecode/templates/admin/repos/repo_edit_vcs.mako
+++ b/rhodecode/templates/admin/repos/repo_edit_vcs.mako
@@ -10,9 +10,7 @@
${h.checkbox('inherit_global_settings',value=True)}
-
- ${h.literal(_('Select to inherit global vcs settings.'))}
-
+ ${h.literal(_('Select to inherit global vcs settings.'))}
diff --git a/rhodecode/templates/login.mako b/rhodecode/templates/login.mako
--- a/rhodecode/templates/login.mako
+++ b/rhodecode/templates/login.mako
@@ -69,8 +69,7 @@
% endif
${_('an administrator if you need help.')}
- %endif
-
+ %endif
${h.submit('sign_in', _('Sign In'), class_="btn sign-in")}
diff --git a/rhodecode/templates/pullrequests/pullrequest.mako b/rhodecode/templates/pullrequests/pullrequest.mako
--- a/rhodecode/templates/pullrequests/pullrequest.mako
+++ b/rhodecode/templates/pullrequests/pullrequest.mako
@@ -48,9 +48,7 @@
${h.textarea('pullrequest_desc',size=30, )}
-
- ${_('Write a short description on this pull request')}
-
+ ${_('Write a short description on this pull request')}