Class: ODDB::View::User::AuthInfoComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/user/auth_info.rb

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [0,0] =>  "register_download",
  [0,1] =>  :auth_info,
  [0,2] =>  :back,
}
CSS_MAP =
{
  [0,0] =>  'th',
  [0,1,1,2] =>  'list',
}
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) auth_info(model)



21
22
23
# File 'src/view/user/auth_info.rb', line 21

def auth_info(model)
  @lookandfeel.lookup(:auth_info, model.)
end

- (Object) back(model)



24
25
26
27
28
# File 'src/view/user/auth_info.rb', line 24

def back(model)
  link = HtmlGrid::Link.new(:auth_back, model, @session, self)
  link.href = @lookandfeel._event_url(:download_export)
  link
end