Remonter dans l'arbre comme dans le theme crans-www propos par vince||

Il serait peut tre bien de faire le mnage de crans-www pour qu'il rcupre
ce qu'il faut depuis crans

darcs-hash:20060415212641-72cb0-d615aad0fc88fc65783a624ffc293206947e2701.gz
This commit is contained in:
salles 2006-04-15 23:26:41 +02:00
parent 58acc31042
commit 3166da3fab

View file

@ -77,12 +77,17 @@ class ThemeCrans(ThemeBase):
until the footer. This keeps the HTML cleaner and more accessible, until the footer. This keeps the HTML cleaner and more accessible,
making sure the main content arrives first. making sure the main content arrives first.
""" """
parent = d['page'].getParentPage()
html = [ html = [
u'<div id="globalWrapper">', u'<div id="globalWrapper">',
u'<div id="column-content">', u'<div id="column-content">',
self.startPage(), self.startPage(),
self.msg(d), 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) return u'\n'.join(html)