Patch #27090 » show_attachments_count_of_wiki_page-v2.diff
| app/views/wiki/show.html.erb (working copy) | ||
|---|---|---|
|
<%= 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 %>
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »