Class: ODDB::View::Admin::EntityList

Inherits:
HtmlGrid::FormList
  • Object
show all
Defined in:
src/view/admin/entities.rb

Direct Known Subclasses

InnerEntityList

Constant Summary

EVENT =
:new_user
COMPONENTS =
{
  [0,0] => :name,
  [1,0] => :affiliations,
  [2,0] => :name_first,
  [3,0] => :name_last,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0,4] =>  'list', 
}
DEFAULT_HEAD_CLASS =
'th'
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false
SORT_DEFAULT =
:name
LOOKANDFEEL_MAP =
{
  :name => :email, 
}

Instance Method Summary (collapse)

Instance Method Details

- (Object) name(model)



29
30
31
32
33
34
# File 'src/view/admin/entities.rb', line 29

def name(model)
  link = HtmlGrid::Link.new(:name, model, @session, self)
  link.href = @lookandfeel._event_url(:user, {:name => model.name})
  link.value = model.name
  link
end