cirandas.net

ref: master

app/models/disabled_enterprise_message_block.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
class DisabledEnterpriseMessageBlock < Block

  def self.description
    _('"Disabled enterprise" message')
  end

  def help
    _('Shows a message for disabled enterprises.')
  end

  def default_title
    _('Message')
  end

  def editable?(user=nil)
    false
  end

  def cacheable?
    false
  end
end