]> source.dussan.org Git - redmine.git/commitdiff
Hide "Files" section in wiki pages when printing (#29791).
authorGo MAEDA <maeda@farend.jp>
Wed, 31 Oct 2018 07:16:52 +0000 (07:16 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 31 Oct 2018 07:16:52 +0000 (07:16 +0000)
Patch by Yuichi HARADA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17614 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/wiki/show.html.erb

index 503944b5a8550bb2ce6c24e4c4425202a3b0ef47..b72a0e0d3429770e31d621e477fee3f076b6b246 100644 (file)
@@ -50,7 +50,7 @@
 
 <%= render(:partial => "wiki/content", :locals => {:content => @content}) %>
 
-<fieldset class="collapsible collapsed">
+<fieldset class="collapsible collapsed hide-when-print">
   <legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %> (<%= @page.attachments.length %>)</legend>
   <div style="display: none;">