[Mpuls-commits] r1785 - wasko/branches/2.0/mpulsweb/templates/dialogs
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 25 15:20:25 CET 2010
Author: torsten
Date: 2010-02-25 15:20:25 +0100 (Thu, 25 Feb 2010)
New Revision: 1785
Modified:
wasko/branches/2.0/mpulsweb/templates/dialogs/success.mako
Log:
* mpulsweb/templates/dialogs/success.mako: Added some fallback vars to
ensure that this dialog also works with old c-vars.
Modified: wasko/branches/2.0/mpulsweb/templates/dialogs/success.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/dialogs/success.mako 2010-02-25 14:17:24 UTC (rev 1784)
+++ wasko/branches/2.0/mpulsweb/templates/dialogs/success.mako 2010-02-25 14:20:25 UTC (rev 1785)
@@ -1,7 +1,7 @@
## -*- coding: utf-8 -*-
<%! import mpulsweb.lib.helper.filters as F %>
<div class="dialog" />
-<h1><img src="/images/confirmation.png" alt="Erledigt"/>${c.dialog_title | F.NA, h}</h1>
-<p>${c.dialog_text | F.NA, h}</p>
+<h1><img src="/images/confirmation.png" alt="Erledigt"/>${c.dialog_title or c.success_for | F.NA, h}</h1>
+<p>${c.dialog_text or c.success_text | F.NA, h}</p>
<a class="button" href="${c.url_ok}">${_('dialog_header_confirm_option_ok')}</a>
</div>
More information about the Mpuls-commits
mailing list