Class: ODDB::View::Rss::PackageTemplate

Inherits:
HtmlGrid::Template
  • Object
show all
Defined in:
src/view/rss/package.rb

Constant Summary

LEGACY_INTERFACE =
false
COMPONENTS =
{
  [0,0] => View::Drugs::PackageInnerComposite, 
  [0,1] => :package_feed_link,
}
CSS_MAP =
{
  [0,1] => 'list',
}

Instance Method Summary (collapse)

Instance Method Details



20
21
22
23
24
# File 'src/view/rss/package.rb', line 20

def package_feed_link(model)
  link = HtmlGrid::Link.new(:package_feed_link, model, @session, self)
  link.href = @lookandfeel._event_url(:show, :pointer => model.pointer)
  link
end