Project

General

Profile

Patch #27090 » show_attachments_count_of_wiki_page_trunk_r16963.patch

Tomomi Yuzuriha, 2017-09-28 04:38

View differences:

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 %>
(3-3/4)