From 830c9a2c2fa9879c6cbe29eaac5ea802f95f31fc Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Mon, 16 Dec 2013 10:49:11 +0100 Subject: [PATCH] Fixed menu icon and added activity icon font icon --- app/assets/stylesheets/documents/documents.css.erb | 4 +++- lib/open_project/documents/engine.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/documents/documents.css.erb b/app/assets/stylesheets/documents/documents.css.erb index d04e5807dd..d8c791cf6e 100644 --- a/app/assets/stylesheets/documents/documents.css.erb +++ b/app/assets/stylesheets/documents/documents.css.erb @@ -1 +1,3 @@ -dt.document { background-image: url(<%= asset_path 'changeset.png' %>); } +dt.document:before { + content: "\e006"; +} diff --git a/lib/open_project/documents/engine.rb b/lib/open_project/documents/engine.rb index fae5de6fbb..1e52fee839 100644 --- a/lib/open_project/documents/engine.rb +++ b/lib/open_project/documents/engine.rb @@ -22,7 +22,7 @@ module OpenProject::Documents { :controller => '/documents', :action => 'index' }, :param => :project_id, :caption => :label_document_plural, - :html => { :css => 'icon2 icon-book1' } + :html => { :class => 'icon2 icon-book1' } permission :manage_documents, {:documents => [:new, :create, :edit, :update, :destroy, :add_attachment]}, :require => :loggedin permission :view_documents, :documents => [:index, :show, :download]