mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 04:21:23 +01: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:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user