##// END OF EJS Templates
Add a css class to hide content when printing. #5508...
Eric Davis -
r3673:b10818f4a1c1
parent child
Show More
@@ -10,7 +10,7
10 10
11 11 <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
12 12 <%= hidden_field_tag('project_id', @project.to_param) if @project %>
13 <div id="query_form_content">
13 <div id="query_form_content" class="hide-when-print">
14 14 <fieldset id="filters" class="collapsible <%= @query.new_record? ? "" : "collapsed" %>">
15 15 <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
16 16 <div style="<%= @query.new_record? ? "" : "display: none;" %>">
@@ -33,7 +33,7
33 33 </div>
34 34 </fieldset>
35 35 </div>
36 <p class="buttons">
36 <p class="buttons hide-when-print">
37 37
38 38 <%= link_to_remote l(:button_apply),
39 39 { :url => { :set_filter => 1 },
@@ -911,4 +911,5 h2 img { vertical-align:middle; }
911 911 #main { background: #fff; }
912 912 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
913 913 #wiki_add_attachment { display:none; }
914 .hide-when-print { display: none; }
914 915 }
General Comments 0
You need to be logged in to leave comments. Login now