Class: ODDB::Html::View::RssFeedbackList
- Inherits:
-
HtmlGrid::DivList
- Object
- HtmlGrid::DivList
- ODDB::Html::View::RssFeedbackList
- Includes:
- Drugs::PackageMethods
- Defined in:
- lib/oddb/html/view/rss_preview.rb
Constant Summary collapse
- COMPONENTS =
{ [0,0] => :heading, }
Instance Method Summary collapse
Methods included from Drugs::PackageMethods
#active_agents, #adjust_price, #code_boolean, #code_festbetragsgruppe, #code_festbetragsstufe, #code_prescription, #code_registration, #code_zuzahlungsbefreit, #ddd_prices, #fachinfo_link, #feedback, #patinfo_link, #price_difference, #price_exfactory, #price_festbetrag, #price_public, #price_zuzahlung, #product, #product_local, #product_remote, #row_css, #size
Instance Method Details
#heading(model) ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/oddb/html/view/rss_preview.rb', line 27 def heading(model) if(parent = model.item) link = HtmlGrid::Link.new(:feedback, model, @session, self) link.href = @lookandfeel._event_url(:feedback, :cid => parent.code(:cid)) link.value = @lookandfeel.lookup :feedback_preview, parent.name, size(parent) link end end |