On rajoute un lien pour monter d'un cran.

darcs-hash:20060415160522-d1718-0ed334e60710f0f35355496283494e931746f153.gz
This commit is contained in:
bernat 2006-04-15 18:05:22 +02:00
parent ba2a01bceb
commit 0c9dc03d73

View file

@ -56,13 +56,18 @@ class Theme(ThemeBase):
until the footer. This keeps the HTML cleaner and more accessible,
making sure the main content arrives first.
"""
parent = d['page'].getParentPage()
html = [
u'<div id="globalWrapper">',
self.logo(),
u'<div id="column-content">',
self.startPage(),
self.msg(d),
self.title(d),
self.title(d)[:-6], # On enlève </h1>
parent and wikiutil.link_tag(self.request,
parent.page_name,
u'<img src="/wiki/crans-www/img/go-up.png" alt="Haut">') or u'',
u'</h1>'
]
return u'\n'.join(html)