[Mpuls-commits] r906 - wasko/branches/2.0/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jan 26 17:54:23 CET 2010


Author: torsten
Date: 2010-01-26 17:54:19 +0100 (Tue, 26 Jan 2010)
New Revision: 906

Modified:
   wasko/branches/2.0/waskaweb/templates/casemanagement/main.mako
Log:
* waskaweb/templates/casemanagement/main.mako: Use shorten function instead of getCaseShort


Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/main.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/main.mako	2010-01-26 16:52:22 UTC (rev 905)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/main.mako	2010-01-26 16:54:19 UTC (rev 906)
@@ -17,8 +17,8 @@
   <% case = session.get('case') %>
   <div id="infofield">
     <strong>${_('cm_info_name')}:</strong>
-       ${h.getCaseShort(case.first_name, 15) | F.NA, h} 
-       ${h.getCaseShort(case.last_name, 15)  | F.NA, h}<br>
+       ${h.shorten(case.first_name, 15) | F.NA, h} 
+       ${h.shorten(case.last_name, 15)  | F.NA, h}<br>
     <strong>${_('cm_info_phase')}:</strong> ${ case.getState().getPhaseDescription() | h }<br>
     <strong>${_('cm_info_status')}:</strong>
        ${case.getState().getStateLabel()  | F.NA, h}<br>



More information about the Mpuls-commits mailing list