Class: ODDB::Html::View::Foot
- Inherits:
-
HtmlGrid::DivComposite
- Object
- HtmlGrid::DivComposite
- ODDB::Html::View::Foot
- Defined in:
- lib/oddb/html/view/foot.rb
Constant Summary collapse
- COMPONENTS =
{ [0,0] => HelpLinks, [0,1] => :copyright, }
- CSS_MAP =
['navigation', 'links']
Instance Method Summary collapse
- #copyright(model) ⇒ Object
- #lgpl_license(model) ⇒ Object
- #oddb_version(model) ⇒ Object
- #ywesee_link(model) ⇒ Object
Instance Method Details
#copyright(model) ⇒ Object
16 17 18 19 |
# File 'lib/oddb/html/view/foot.rb', line 16 def copyright(model) [ lgpl_license(model), ' ', Time.now.year, ', ', ywesee_link(model), ', ', oddb_version(model) ] end |
#lgpl_license(model) ⇒ Object
20 21 22 23 24 |
# File 'lib/oddb/html/view/foot.rb', line 20 def lgpl_license(model) link = HtmlGrid::Link.new(:lgpl_license, model, @session, self) link.href = 'http://www.gnu.org/copyleft/lesser.html' link end |
#oddb_version(model) ⇒ Object
25 26 27 28 29 30 |
# File 'lib/oddb/html/view/foot.rb', line 25 def oddb_version(model) link = HtmlGrid::Link.new(:oddb_version, model, @session, self) link.href = 'http://scm.ywesee.com/?p=de.oddb.org;a=summary' link.set_attribute('title', ODDB_VERSION) link end |
#ywesee_link(model) ⇒ Object
31 32 33 34 35 |
# File 'lib/oddb/html/view/foot.rb', line 31 def ywesee_link(model) link = HtmlGrid::Link.new(:ywesee, model, @session, self) link.href = 'http://www.ywesee.com' link end |