Patch #27090 » show_attachments_count_of_wiki_page-v2.diff
app/views/wiki/show.html.erb (working copy) | ||
---|---|---|
46 | 46 |
<%= render(:partial => "wiki/content", :locals => {:content => @content}) %> |
47 | 47 | |
48 | 48 |
<fieldset class="collapsible collapsed"> |
49 |
<legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %></legend> |
|
49 |
<legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %> (<%= @page.attachments.length %>)</legend>
|
|
50 | 50 |
<div style="display: none;"> |
51 | 51 | |
52 | 52 |
<%= link_to_attachments @page, :thumbnails => true %> |
- « Previous
- 1
- 2
- 3
- 4
- Next »