Patch #27090 » show_attachments_count_of_wiki_page_trunk_r16963.patch
| app/views/wiki/show.html.erb | ||
|---|---|---|
|
<%= 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.count %>)</legend>
|
||
|
<div style="display: none;">
|
||
|
<%= link_to_attachments @page, :thumbnails => true %>
|
||