Project

General

Profile

Feature #12401 » documents.show.html.erb.patch

Patch the show document view - Michael Esemplare, 2012-11-19 21:43

View differences:

/var/www/redmine/app/views/documents/show.html.erb~ 2012-11-17 07:35:40.772858327 +0000
<div class="contextual">
<% if User.current.allowed_to?(:manage_documents, @project) %>
<% if User.current.allowed_to?(:edit_documents, @project) %>
<%= link_to l(:button_edit), edit_document_path(@document), :class => 'icon icon-edit', :accesskey => accesskey(:edit) %>
<% end %>
<% if User.current.allowed_to?(:delete_documents, @project) %>
<%= delete_link document_path(@document) %>
<% end %>
</div>
(2-2/5)