mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Show the number of attachments on wiki pages (#27090).
Patch by Tomomi Yuzuriha. git-svn-id: http://svn.redmine.org/redmine/trunk@17231 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0f9ea965e7
commit
9c6d95b059
@ -46,7 +46,7 @@
|
||||
<%= render(:partial => "wiki/content", :locals => {:content => @content}) %>
|
||||
|
||||
<fieldset class="collapsible collapsed">
|
||||
<legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %></legend>
|
||||
<legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %> (<%= @page.attachments.length %>)</legend>
|
||||
<div style="display: none;">
|
||||
|
||||
<%= link_to_attachments @page, :thumbnails => true %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user