[Mpuls-commits] r964 - wasko/branches/2.0/waskaweb/templates/statement/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jan 28 09:36:38 CET 2010


Author: torsten
Date: 2010-01-28 09:36:37 +0100 (Thu, 28 Jan 2010)
New Revision: 964

Modified:
   wasko/branches/2.0/waskaweb/templates/statement/dialogs/missing_statement_body.mako
Log:
* waskaweb/templates/statement/dialogs/missing_statement_body.mako: Call h.url_for instead of h.url



Modified: wasko/branches/2.0/waskaweb/templates/statement/dialogs/missing_statement_body.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/statement/dialogs/missing_statement_body.mako	2010-01-28 08:32:22 UTC (rev 963)
+++ wasko/branches/2.0/waskaweb/templates/statement/dialogs/missing_statement_body.mako	2010-01-28 08:36:37 UTC (rev 964)
@@ -3,7 +3,7 @@
 <h1><img src="/images/alert.png"/>${_('statement_dialog_header_statement_no')}</h1>
 <p>${_('statement_dialog_p_statement_no_explanation')}</p>
 % if h.hasRole(['cm_ka']):
-<p>${_('statement_dialog_p_options') % h.link_to(_('statement_edit_a_statement_form_printversion'), h.url(controller="statement", action="printPrivacyStatement", id=c.ds_id))}
+<p>${_('statement_dialog_p_options') % h.link_to(_('statement_edit_a_statement_form_printversion'), h.url_for(controller="statement", action="printPrivacyStatement", id=c.ds_id))}
 
 <ol>
 <li><strong>${_('statement_dialog_li_statement_accepted')}</strong>${_('statement_dialog_li_statement_accepted_explanation')}</li>



More information about the Mpuls-commits mailing list