Commit 856fb1b978048b875bbe5e234aec872a087f21b5

Authored by Paulo Meireles
1 parent 9e718e4b

[Mezuro] Added Mezuro icon

plugins/mezuro/lib/mezuro_plugin.rb
... ... @@ -24,13 +24,12 @@ class MezuroPlugin < Noosfero::Plugin
24 24  
25 25 def control_panel_buttons
26 26 if context.profile.is_a?(Community)
27   - {:title => _('Mezuro Project'), :url => {:controller => 'cms', :action => 'new', :profile => context.profile.identifier, :type => 'MezuroPlugin::ProjectContent'} }
  27 + {:title => _('Mezuro Project'), :url => {:controller => 'cms', :action => 'new', :profile => context.profile.identifier, :type => 'MezuroPlugin::ProjectContent'}, :icon => 'mezuro' }
28 28 else
29   - {:title => _('Mezuro Configuration'), :url => {:controller => 'cms', :action => 'new', :profile => context.profile.identifier, :type => 'MezuroPlugin::ConfigurationContent'} }
  29 + {:title => _('Mezuro Configuration'), :url => {:controller => 'cms', :action => 'new', :profile => context.profile.identifier, :type => 'MezuroPlugin::ConfigurationContent'}, :icon => 'mezuro' }
30 30 end
31 31 end
32 32  
33   -
34 33 def stylesheet?
35 34 true
36 35 end
... ...
plugins/mezuro/public/icons/mezuro.png 0 → 100644

3.82 KB