On rajoute un lien pour monter d'un cran.
darcs-hash:20060415160522-d1718-0ed334e60710f0f35355496283494e931746f153.gz
This commit is contained in:
parent
ba2a01bceb
commit
0c9dc03d73
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue