[Mpuls-commits] r4804 - in base/trunk: . mpulsweb/templates/privacy/dialogs

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Mar 21 12:16:58 CET 2011


Author: roland
Date: 2011-03-21 12:16:56 +0100 (Mon, 21 Mar 2011)
New Revision: 4804

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/privacy/dialogs/missing_statement_body.mako
Log:
issue1943: open print version of privacy statement in new window

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2011-03-21 10:31:42 UTC (rev 4803)
+++ base/trunk/ChangeLog	2011-03-21 11:16:56 UTC (rev 4804)
@@ -1,3 +1,8 @@
+2011-03-21  Roland Geider <roland.geider at intevation.de>
+
+	* mpulsweb/templates/privacy/dialogs/missing_statement_body.mako:
+	issue1943: open print version of privacy statement in new window
+
 2011-03-18  Ludwig Reiter <ludwig.reiter at intevation.de>
 
 	* mpulsweb/i18n/mpulsweb.pot

Modified: base/trunk/mpulsweb/templates/privacy/dialogs/missing_statement_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/privacy/dialogs/missing_statement_body.mako	2011-03-21 10:31:42 UTC (rev 4803)
+++ base/trunk/mpulsweb/templates/privacy/dialogs/missing_statement_body.mako	2011-03-21 11:16:56 UTC (rev 4804)
@@ -3,7 +3,7 @@
 <h1><img src="${h.url_for('/images/icons/info/info.png')}" alt="" width="48" height="48" />${_('Missing data for the statement')}</h1>
 <p>${_('The acceptance statement of the youth for work and usage of his data. You are resonsible for this.')}</p>
 % if h.hasRole(['cm_ka']):
-  <p>${h.literal(_('Please notice that the acceptence statement needs to be written. For this use %s. Please choose:') % h.link_to(_('Printversion of this statement'), h.url_for(controller="/privacy", action="printStatement", id=c.ds_id)))}
+  <p>${h.literal(_('Please notice that the acceptence statement needs to be written. For this use %s. Please choose:') % '<a href="%s" target="_blank">%s<a>' % (h.url_for(controller="/privacy", action="printStatement", id=c.ds_id), _('Printversion of this statement')))}
 
     <ol>
       <li>



More information about the Mpuls-commits mailing list