Feature #29791 » 29791-hidden-wiki-attachments-v2.patch
| app/views/wiki/show.html.erb | ||
|---|---|---|
|
<%= render(:partial => "wiki/content", :locals => {:content => @content}) %>
|
||
|
<fieldset class="collapsible collapsed">
|
||
|
<fieldset class="collapsible collapsed hide-when-print">
|
||
|
<legend onclick="toggleFieldset(this);"><%= l(:label_attachment_plural) %> (<%= @page.attachments.length %>)</legend>
|
||
|
<div style="display: none;">
|
||
|
<%= link_to_attachments @page, :thumbnails => true %>
|
||
|
|
||
|
<% if @editable && authorize_for('wiki', 'add_attachment') %>
|
||
|
<div id="wiki_add_attachment">
|
||
|
<%= form_tag({:controller => 'wiki', :action => 'add_attachment',
|
||
- « Previous
- 1
- 2
- Next »