Patch #22941 » thumbnails.patch
| app/views/wiki/show.html.erb | ||
|---|---|---|
|
<%= render(:partial => "wiki/content", :locals => {:content => @content}) %>
|
||
|
<%= link_to_attachments @page %>
|
||
|
<%= link_to_attachments @page, :thumbnails => true %>
|
||
|
<% if @editable && authorize_for('wiki', 'add_attachment') %>
|
||
|
<div id="wiki_add_attachment">
|
||
|
-
|
||
| app/views/documents/show.html.erb | ||
|---|---|---|
|
</div>
|
||
|
<h3><%= l(:label_attachment_plural) %></h3>
|
||
|
<%= link_to_attachments @document %>
|
||
|
<%= link_to_attachments @document, :thumbnails => true %>
|
||
|
<% if authorize_for('documents', 'add_attachment') %>
|
||
|
<p><%= link_to l(:label_attachment_new), {}, :onclick => "$('#add_attachment_form').show(); return false;",
|
||