Class: XmlConv::View::Foot

Inherits:
HtmlGrid::Composite
  • Object
show all
Defined in:
lib/xmlconv/view/foot.rb

Constant Summary collapse

COMPONENTS =
{
	[0,0]	=>	:copyright,
	[1,0]	=>	Navigation,
}
CSS_CLASS =
'foot composite'
LEGACY_INTERFACE =
false

Instance Method Summary collapse

Instance Method Details



17
18
19
20
21
22
23
24
# File 'lib/xmlconv/view/foot.rb', line 17

def copyright(model)
	link = HtmlGrid::Link.new(:copyright, model, @session, self)
	link.href = 'http://www.ywesee.com'
	link.value = @lookandfeel.lookup(:copyright, Date.today.strftime('%Y'))
	link.css_class = 'foot'
	link.target = '_blank'
	link
end