Class: ODDB::View::Drugs::RssFeedbacks

Inherits:
RssPreview show all
Defined in:
src/view/drugs/centeredsearchform.rb

Constant Summary

COMPONENTS =
{
  [0,0] => :rss_image,
  [1,0] => :title,
  [0,1] => RssFeedbackList,
}

Constants inherited from RssPreview

CSS_MAP

Instance Method Summary (collapse)

Methods inherited from RssPreview

#rss_image

Instance Method Details

- (Object) title(model)



214
215
216
217
218
219
220
221
# File 'src/view/drugs/centeredsearchform.rb', line 214

def title(model)
  if( = model.first)
    link = HtmlGrid::Link.new(:feedback_feed_title, model, @session, self)
    link.href = @lookandfeel._event_url(:rss, :channel => 'feedback.rss')
    link.css_class = 'list bold'
    link
  end
end