]> source.dussan.org Git - redmine.git/commitdiff
Move inline CSS to application.css for private checkbox (#21076).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 29 Oct 2015 10:19:22 +0000 (10:19 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 29 Oct 2015 10:19:22 +0000 (10:19 +0000)
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
public/stylesheets/application.css

index 7d956920f9fcb05de578f69066d6e7b0c108d3c8..9449938c1fc9b0ae2180525f6667c784140739bc 100644 (file)
@@ -2,7 +2,7 @@
 <%= call_hook(:view_issues_form_details_top, { :issue => @issue, :form => f }) %>
 
 <% if @issue.safe_attribute? 'is_private' %>
-<p style="float:right; margin-right:1em;">
+<p id="issue_is_private_wrap">
   <%= f.check_box :is_private, :no_label => true %><label class="inline" for="issue_is_private" id="issue_is_private_label"><%= l(:field_is_private) %></label>
 </p>
 <% end %>
index aa5872c4ed6e480c817b2d1d3fa94efd059ddd83..45dce69d4e1704b27a50bcd62af86219e7c9502a 100644 (file)
@@ -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; }