[Mpuls-commits] r4607 - in waska/trunk: . waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 10 18:28:15 CET 2011


Author: bh
Date: 2011-02-10 18:28:15 +0100 (Thu, 10 Feb 2011)
New Revision: 4607

Modified:
   waska/trunk/ChangeLog
   waska/trunk/waskaweb/templates/casemanagement/digest_body.mako
Log:
* waskaweb/templates/casemanagement/digest_body.mako: Use the
nl_to_br from mpulsweb.lib.helper.filters instead of
mpulsweb.lib.helpers to make it more consistent with the rest of
the mpuls code.


Modified: waska/trunk/ChangeLog
===================================================================
--- waska/trunk/ChangeLog	2011-02-10 16:20:33 UTC (rev 4606)
+++ waska/trunk/ChangeLog	2011-02-10 17:28:15 UTC (rev 4607)
@@ -1,3 +1,10 @@
+2011-02-10  Bernhard Herzog  <bh at intevation.de>
+
+	* waskaweb/templates/casemanagement/digest_body.mako: Use the
+	nl_to_br from mpulsweb.lib.helper.filters instead of
+	mpulsweb.lib.helpers to make it more consistent with the rest of
+	the mpuls code.
+
 2011-02-01  Torsten Irlaender <torsten at intevation.de>
 
 	* waska.json: Issue1744: Changed id of evaluation

Modified: waska/trunk/waskaweb/templates/casemanagement/digest_body.mako
===================================================================
--- waska/trunk/waskaweb/templates/casemanagement/digest_body.mako	2011-02-10 16:20:33 UTC (rev 4606)
+++ waska/trunk/waskaweb/templates/casemanagement/digest_body.mako	2011-02-10 17:28:15 UTC (rev 4607)
@@ -9,7 +9,7 @@
       % if field.name in ['kundennummer', 'name_1', 'vorname_1', 'geburtsdatum', 'strasse', 'strassenr', 'plz', 'wohnort', 'vorwahl', 'telefon_1', 'mobiltelefon', 'telefon_sonstige', 'email']:
         <tr class="${num % 2 and 'hl' or ''}">
           <td class="label">${c.case.get_description(field.name)}</td>
-          <td>${h.literal(h.nl_to_br(h.convertForDigest(c.case.get_value(field.name))))| F.NA}
+          <td>${h.literal(F.nl_to_br(h.convertForDigest(c.case.get_value(field.name))))| F.NA}
             % if field.name == 'geburtsdatum' and c.case.first_meeting and c.case.get_value(field.name):
                 (${_('Age on first contact: %s years') % h.get_age(c.case.first_meeting - c.case.get_value(field.name)) | F.NA})
             % endif



More information about the Mpuls-commits mailing list