cirandas.net

ref: master

plugins/event/lib/event_plugin.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class EventPlugin < Noosfero::Plugin

  def self.plugin_name
    _("Event Extras")
  end

  def self.plugin_description
    _("Include a new block to show the environment's or profiles' events information")
  end

  def self.extra_blocks
    { EventPlugin::EventBlock => { :type => [Community, Person, Enterprise, Environment] } }
  end

  def stylesheet?
    true
  end

  def js_files
    'event.js'
  end

end