Class: ODDB::View::Drugs::RssPreview

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

Direct Known Subclasses

FachinfoNews, RssFeedbacks, SLPriceNews

Constant Summary

CSS_MAP =
['heading']

Instance Method Summary (collapse)

Instance Method Details

- (Object) rss_image(model)



180
181
182
183
184
185
186
187
# File 'src/view/drugs/centeredsearchform.rb', line 180

def rss_image(model)
  if(link = title(model))
    img = HtmlGrid::Image.new(:minifi_title, model, @session, self)
    img.attributes['src'] = @lookandfeel.resource_global(:rss_feed)
    link.value = img
    link
  end
end