Class: ODDB::View::Drugs::FachinfoNewsList

Inherits:
HtmlGrid::DivList
  • Object
show all
Defined in:
src/view/drugs/centeredsearchform.rb

Constant Summary

COMPONENTS =
{
  [0,0] => :name,
}

Instance Method Summary (collapse)

Instance Method Details

- (Object) name(model)



227
228
229
230
231
232
233
# File 'src/view/drugs/centeredsearchform.rb', line 227

def name(model)
  link = HtmlGrid::Link.new(:name_base, model, @session, self)
  link.value = model.localized_name(@session.language)
  link.href = @lookandfeel._event_url :fachinfo,
    :swissmedicnr => model.registrations.first.iksnr
  link
end