Class: ODDB::Html::View::RssFeedbacks
- Inherits:
-
RssPreview
- Object
- HtmlGrid::DivComposite
- RssPreview
- ODDB::Html::View::RssFeedbacks
- Defined in:
- lib/oddb/html/view/rss_preview.rb
Constant Summary collapse
- COMPONENTS =
{ [0,0] => :rss_image, [1,0] => :title, [0,1] => RssFeedbackList, }
Constants inherited from RssPreview
ODDB::Html::View::RssPreview::CSS_MAP
Instance Method Summary collapse
Methods inherited from RssPreview
Instance Method Details
#title(model) ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'lib/oddb/html/view/rss_preview.rb', line 42 def title(model) if(feedback = model.first) link = HtmlGrid::Link.new(:feedback_feed_title, model, @session, self) link.href = url = [ 'http:/', @session.server_name, 'rss', @session.language, "feedback.rss" ].join('/') link.css_class = 'rss-title' link end end |