[Mpuls-commits] r4287 - base/trunk/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Dec 1 10:27:59 CET 2010
Author: torsten
Date: 2010-12-01 10:27:58 +0100 (Wed, 01 Dec 2010)
New Revision: 4287
Modified:
base/trunk/mpulsweb/controllers/formularpage.py
Log:
* mpulsweb/controllers/formularpage.py (get_rendered_page): Fixed
rendering of helo for formularpages if no help is available for the
current page.
Modified: base/trunk/mpulsweb/controllers/formularpage.py
===================================================================
--- base/trunk/mpulsweb/controllers/formularpage.py 2010-11-30 17:33:01 UTC (rev 4286)
+++ base/trunk/mpulsweb/controllers/formularpage.py 2010-12-01 09:27:58 UTC (rev 4287)
@@ -82,8 +82,8 @@
page_label = page.getMeta().getDescription()
# Check if there is help available for this page
+ help = []
if page.getMeta().hasHelp():
- help = []
help.append(tag("a", target="_blank",
href=url_for(controller="/annotations",
action="help", id=page.getMeta().getName())))
More information about the Mpuls-commits
mailing list