Commit 294b7cd7 authored by maeda's avatar maeda

Show the number of attachments on wiki pages (#27090).

Patch by Tomomi Yuzuriha.


git-svn-id: https://svn.redmine.org/redmine/trunk@17231 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d41c494d
......@@ -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 %>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment