From b10818f4a1c1858d9943c94c0359160ef3bfe482 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 19 Jun 2010 21:53:58 +0000 Subject: [PATCH] Add a css class to hide content when printing. #5508 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3787 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/index.rhtml | 4 ++-- public/stylesheets/application.css | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/issues/index.rhtml b/app/views/issues/index.rhtml index 66bba490d..beece6275 100644 --- a/app/views/issues/index.rhtml +++ b/app/views/issues/index.rhtml @@ -10,7 +10,7 @@ <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %> <%= hidden_field_tag('project_id', @project.to_param) if @project %> -
+
"> <%= l(:label_filter_plural) %>
"> @@ -33,7 +33,7 @@
-

+

<%= link_to_remote l(:button_apply), { :url => { :set_filter => 1 }, diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 4c4d5f50e..46fc8a88a 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -911,4 +911,5 @@ h2 img { vertical-align:middle; } #main { background: #fff; } #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;} #wiki_add_attachment { display:none; } + .hide-when-print { display: none; } }