Commit 856fb1b978048b875bbe5e234aec872a087f21b5
1 parent
9e718e4b
Exists in
master
and in
23 other branches
[Mezuro] Added Mezuro icon
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin.rb
@@ -24,13 +24,12 @@ class MezuroPlugin < Noosfero::Plugin | @@ -24,13 +24,12 @@ class MezuroPlugin < Noosfero::Plugin | ||
24 | 24 | ||
25 | def control_panel_buttons | 25 | def control_panel_buttons |
26 | if context.profile.is_a?(Community) | 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 | else | 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 | end | 30 | end |
31 | end | 31 | end |
32 | 32 | ||
33 | - | ||
34 | def stylesheet? | 33 | def stylesheet? |
35 | true | 34 | true |
36 | end | 35 | end |
3.82 KB