On n'affiche pas le titre de la page sur la page principale
darcs-hash:20060417135412-72cb0-e7cc7df2f9a21e6df3b75ae22f33a918f549fcf5.gz
This commit is contained in:
parent
74fca0fdf9
commit
a8359d8bb1
1 changed files with 9 additions and 2 deletions
|
@ -66,13 +66,20 @@ class Theme(ThemeBase):
|
||||||
self.logo(),
|
self.logo(),
|
||||||
u'<div id="column-content">',
|
u'<div id="column-content">',
|
||||||
self.startPage(),
|
self.startPage(),
|
||||||
self.msg(d),
|
self.msg(d)
|
||||||
|
]
|
||||||
|
|
||||||
|
title = [
|
||||||
self.title(d)[:-6], # On enlève </h1>
|
self.title(d)[:-6], # On enlève </h1>
|
||||||
parent and wikiutil.link_tag(self.request,
|
parent and wikiutil.link_tag(self.request,
|
||||||
parent.page_name,
|
parent.page_name,
|
||||||
u'<img src="/wiki/crans-www/img/go-up.png" alt="Haut">') or u'',
|
u'<img src="/wiki/crans-www/img/go-up.png" alt="Haut">') or u'',
|
||||||
u'</h1>'
|
u'</h1>'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if d['page'].page_name != 'VieCrans' :
|
||||||
|
html += title
|
||||||
|
|
||||||
return u'\n'.join(html)
|
return u'\n'.join(html)
|
||||||
|
|
||||||
def footer(self, d, **keywords):
|
def footer(self, d, **keywords):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue