Patch #22941 » thumbnails.patch
| app/views/wiki/show.html.erb | ||
|---|---|---|
| 43 | 43 | |
| 44 | 44 |
<%= render(:partial => "wiki/content", :locals => {:content => @content}) %>
|
| 45 | 45 | |
| 46 |
<%= link_to_attachments @page %> |
|
| 46 |
<%= link_to_attachments @page, :thumbnails => true %>
|
|
| 47 | 47 | |
| 48 | 48 |
<% if @editable && authorize_for('wiki', 'add_attachment') %>
|
| 49 | 49 |
<div id="wiki_add_attachment"> |
| 50 |
- |
|
| app/views/documents/show.html.erb | ||
|---|---|---|
| 25 | 25 |
</div> |
| 26 | 26 | |
| 27 | 27 |
<h3><%= l(:label_attachment_plural) %></h3> |
| 28 |
<%= link_to_attachments @document %> |
|
| 28 |
<%= link_to_attachments @document, :thumbnails => true %>
|
|
| 29 | 29 | |
| 30 | 30 |
<% if authorize_for('documents', 'add_attachment') %>
|
| 31 | 31 |
<p><%= link_to l(:label_attachment_new), {}, :onclick => "$('#add_attachment_form').show(); return false;",
|