hack pour eviter que le titre 'page' ne s'affiche alors que le menu est vide.
darcs-hash:20070530141540-f46e9-2bf974a8168116cdd8eb1184901a315f629f759e.gz
This commit is contained in:
parent
9da1ea6e24
commit
9f6407de26
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ class ThemeCrans(ThemeBase):
|
|||
self.username(d),
|
||||
u"<h5>Navigation</h5>",
|
||||
self.navibar(d),
|
||||
u"<h5>%s</h5>" % _("Page"),
|
||||
# hack : c1 and V1 or v2 c'est comme le code C : c1? v1 : V2
|
||||
# (si c1 est vrai alors prends la valeur V1 sinon prend la valeur c2
|
||||
self.shouldShowEditbar(d['page']) and u"<h5>%s</h5>" % _("Page") or u" ",
|
||||
self.editbar(d),
|
||||
u"<h5>%s</h5>" % _('Search'),
|
||||
self.searchform(d),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue