Commit 3bac6b6bd60f3c5689c742e911ec90194ef26c5a

Authored by Leandro Santos
1 parent 7afb3d18
Exists in master

uncomment plugin

Showing 1 changed file with 16 additions and 16 deletions   Show diff stats
lib/juventude_plugin.rb
1 class JuventudePlugin < Noosfero::Plugin 1 class JuventudePlugin < Noosfero::Plugin
2 2
3 -# def self.plugin_name  
4 -# _('Juventude custom plugin')  
5 -# end  
6 -#  
7 -# def self.plugin_description  
8 -# _("Provide a plugin to juventude environment.")  
9 -# end  
10 -#  
11 -# def self.api_mount_points  
12 -# [JuventudePlugin::API]  
13 -# end  
14 -#  
15 -# def control_panel_buttons  
16 -# {:title => _('Generate Report'), :icon => 'report', :url => {:controller => 'juventude_plugin_myprofile', :action => :send_report}, :html_options => {:class => 'admin-report'}} if context.send(:current_person).is_admin?  
17 -#  
18 -# end 3 + def self.plugin_name
  4 + _('Juventude custom plugin')
  5 + end
  6 +
  7 + def self.plugin_description
  8 + _("Provide a plugin to juventude environment.")
  9 + end
  10 +
  11 + def self.api_mount_points
  12 + [JuventudePlugin::API]
  13 + end
  14 +
  15 + def control_panel_buttons
  16 + {:title => _('Generate Report'), :icon => 'report', :url => {:controller => 'juventude_plugin_myprofile', :action => :send_report}, :html_options => {:class => 'admin-report'}} if context.send(:current_person).is_admin?
  17 +
  18 + end
19 19
20 end 20 end