cirandas.net

ref: master

plugins/profile_description_block/lib/profile_description_block_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 ProfileDescriptionBlockPlugin < Noosfero::Plugin

  def self.plugin_name
    # FIXME
    "Profile Description Block"
  end

  def self.plugin_description
    # FIXME
    _("A plugin that adds a block that show the profile description")
  end

  def self.extra_blocks
    {
      ProfileDescriptionBlock  => { :type => [Community, Person] }
    }
  end

  def stylesheet?
    true
  end

end