Class: ODDB::View::TabNavigationLink

Inherits:
HtmlGrid::Link
  • Object
show all
Defined in:
src/view/tab_navigationlink.rb

Constant Summary

CSS_CLASS =
"tabnavigation"

Instance Method Summary (collapse)

Instance Method Details

- (Object) init



10
11
12
13
14
15
16
# File 'src/view/tab_navigationlink.rb', line 10

def init
  super
  unless (@session.zone == @name)
    home_event = [:home, @name].join('_')
    @attributes.store("href", @lookandfeel._event_url(home_event))
  end
end