cirandas.net

ref: master

app/models/profile_info_block.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 ProfileInfoBlock < Block

  def self.description
    _('Display profile image and links to access initial homepage, control panel and profile activities.')
  end

  def self.short_description
    _('Show profile information')
  end

  def self.pretty_name
    _('Profile Information')
  end

  def help
    _('Basic information about <i>%{user}</i>: how long <i>%{user}</i> is part of <i>%{env}</i> and useful links.') % { :user => self.owner.name(), :env => self.owner.environment.name() }
  end

  def cacheable?
    false
  end

end