diff options
-rw-r--r-- | app/views/documents/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/issues/show.rhtml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 599ac389b..3014387bd 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -7,7 +7,9 @@ <p><em><%=h @document.category.name %><br /> <%= format_date @document.created_on %></em></p> +<div class="wiki"> <%= textilizable @document.description, :attachments => @document.attachments %> +</div> <br /> <h3><%= l(:label_attachment_plural) %></h3> diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index 006efa3d5..91b638216 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -64,7 +64,9 @@ end %> <% end %> <p><strong><%=l(:field_description)%></strong></p> +<div class="wiki"> <%= textilizable @issue, :description, :attachments => @issue.attachments %> +</div> <% if @issue.attachments.any? %> <%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %> |