views.documents.index.html.erb.patch

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

Download (674 Bytes)

View differences:

/var/www/redmine/app/views/documents/index.html.erb~ 2012-11-17 07:31:22.104848354 +0000
1 1
<div class="contextual">
2 2
<%= link_to l(:label_document_new), new_project_document_path(@project), :class => 'icon icon-add',
3
      :onclick => 'showAndScrollTo("add-document", "document_title"); return false;' if User.current.allowed_to?(:manage_documents, @project) %>
3
      :onclick => 'showAndScrollTo("add-document", "document_title"); return false;' if User.current.allowed_to?(:add_documents, @project) %>
4 4
</div>
5 5

  
6 6
<div id="add-document" style="display:none;">