From 4c31a5b15684bbfda1fd03173f0105f8e7b915e1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 29 Oct 2015 10:19:22 +0000 Subject: [PATCH] Move inline CSS to application.css for private checkbox (#21076). Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@14754 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/_form.html.erb | 2 +- public/stylesheets/application.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index 7d956920f..9449938c1 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -2,7 +2,7 @@ <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %> <% if @issue.safe_attribute? 'is_private' %> -

+

<%= f.check_box :is_private, :no_label => true %>

<% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index aa5872c4e..45dce69d4 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -375,6 +375,7 @@ fieldset#filters td.values select {min-width:130px;} fieldset#filters td.values input {height:1em;} fieldset#filters td.add-filter { text-align: right; vertical-align: top; } +#issue_is_private_wrap {float:right; margin-right:1em;} .toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;} .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; } -- 2.39.5