From 9f6407de26d9c78d4075f0b1c9285c63a29dba3f Mon Sep 17 00:00:00 2001 From: gdetrez Date: Wed, 30 May 2007 16:15:40 +0200 Subject: [PATCH] hack pour eviter que le titre 'page' ne s'affiche alors que le menu est vide. darcs-hash:20070530141540-f46e9-2bf974a8168116cdd8eb1184901a315f629f759e.gz --- wiki/theme/crans.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wiki/theme/crans.py b/wiki/theme/crans.py index bbd14307..100da812 100644 --- a/wiki/theme/crans.py +++ b/wiki/theme/crans.py @@ -78,7 +78,9 @@ class ThemeCrans(ThemeBase): self.username(d), u"
Navigation
", self.navibar(d), - u"
%s
" % _("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"
%s
" % _("Page") or u" ", self.editbar(d), u"
%s
" % _('Search'), self.searchform(d),