web/views/basetemplates.py
changeset 596 5ecf67090c2f
parent 592 aae01d81c713
parent 580 b453a6a1c3d1
child 597 f8c1f8a40749
equal deleted inserted replaced
595:178fc96fd148 596:5ecf67090c2f
     1 # -*- coding: utf-8 -*-
     1 # -*- coding: utf-8 -*-
     2 """default templates for CubicWeb web client
     2 """default templates for CubicWeb web client
     3 
     3 
     4 :organization: Logilab
     4 :organization: Logilab
     5 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     5 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     7 """
     7 """
     8 __docformat__ = "restructuredtext en"
     8 __docformat__ = "restructuredtext en"
     9 
     9 
    10 from StringIO import StringIO
    10 from StringIO import StringIO
   422         from cubicweb.web.views.wdoc import ChangeLogView
   422         from cubicweb.web.views.wdoc import ChangeLogView
   423         self.w(u'<a href="%s">%s</a> | ' % (req.build_url('changelog'),
   423         self.w(u'<a href="%s">%s</a> | ' % (req.build_url('changelog'),
   424                                             req._(ChangeLogView.title).lower()))
   424                                             req._(ChangeLogView.title).lower()))
   425         self.w(u'<a href="%s">%s</a> | ' % (req.build_url('doc/about'),
   425         self.w(u'<a href="%s">%s</a> | ' % (req.build_url('doc/about'),
   426                                             req._('about this site')))
   426                                             req._('about this site')))
   427         self.w(u'© 2001-2008 <a href="http://www.logilab.fr">Logilab S.A.</a>')
   427         self.w(u'© 2001-2009 <a href="http://www.logilab.fr">Logilab S.A.</a>')
   428         self.w(u'</div>')
   428         self.w(u'</div>')
   429 
   429 
   430 
   430 
   431 class HTMLContentHeader(Template):
   431 class HTMLContentHeader(Template):
   432     """default html page content header:
   432     """default html page content header: