use icon from new icon font

added icons for submenu entries
pull/6827/head
Christian Ratz 11 years ago
parent 2fd4289bef
commit 4a2b9a90a4
  1. 8
      lib/open_project/costs/engine.rb

@ -165,21 +165,23 @@ module OpenProject::Costs
:param => :project_id, :param => :project_id,
:before => :settings, :before => :settings,
:caption => :cost_objects_title, :caption => :cost_objects_title,
:html => {:'data-icon2' => 'C'} :html => {:class => 'icon5 icon-stats'}
menu :project_menu, menu :project_menu,
:new_budget, :new_budget,
{:controller => '/cost_objects', :action => 'new' }, {:controller => '/cost_objects', :action => 'new' },
:param => :project_id, :param => :project_id,
:caption => :label_cost_object_new, :caption => :label_cost_object_new,
:parent => :cost_objects :parent => :cost_objects,
:html => {:class => 'icon5 icon-add'}
menu :project_menu, menu :project_menu,
:show_all, :show_all,
{:controller => '/cost_objects', :action => 'index' }, {:controller => '/cost_objects', :action => 'index' },
:param => :project_id, :param => :project_id,
:caption => :label_view_all_cost_objects, :caption => :label_view_all_cost_objects,
:parent => :cost_objects :parent => :cost_objects,
:html => {:class => 'icon5 icon-list-view1'}
end end
end end
end end

Loading…
Cancel
Save