added menu item icon

pull/6827/head
Christian Ratz 11 years ago
parent a49d55a7a9
commit 7e2e8225b9
  1. 6
      lib/open_project/documents/engine.rb

@ -18,7 +18,11 @@ module OpenProject::Documents
requires_openproject ">= 3.0.0pre36"
menu :project_menu, :documents, { :controller => '/documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural
menu :project_menu, :documents,
{ :controller => '/documents', :action => 'index' },
:param => :project_id,
:caption => :label_document_plural,
:html => { :css => 'icon2 icon-book1' }
permission :manage_documents, {:documents => [:new, :create, :edit, :update, :destroy, :add_attachment]}, :require => :loggedin
permission :view_documents, :documents => [:index, :show, :download]

Loading…
Cancel
Save