Class: ODDB::View::Logo

Inherits:
PopupLogo show all
Defined in:
src/view/logo.rb,
test/test_view/logo.rb

Constant Summary

Constants inherited from PopupLogo

CSS_CLASS, LOGO_KEY

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from PopupLogo

#init, #logo_src, #zone_logo_src

Methods inherited from HtmlGrid::Component

#additional_javascripts, #dynamic_html

Instance Attribute Details

- (Object) lookandfeel (readonly)

Returns the value of attribute lookandfeel



13
14
15
# File 'test/test_view/logo.rb', line 13

def lookandfeel
  @lookandfeel
end

Instance Method Details

- (Object) to_html(context)



43
44
45
46
47
48
49
# File 'src/view/logo.rb', line 43

def to_html(context)
  if(@lookandfeel.enabled?(:logo))
    super
  else
    ' '
  end
end