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

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


Author: torsten
Date: 2010-01-26 17:52:22 +0100 (Tue, 26 Jan 2010)
New Revision: 905

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



Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako	2010-01-26 16:46:01 UTC (rev 904)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako	2010-01-26 16:52:22 UTC (rev 905)
@@ -17,14 +17,14 @@
 
 fields = [
     (_('cm_overview_tbl_header_id'), "kundennummer", "table_id", all_roles,
-     lambda case: h.getCaseShort(hide_if_anonymized(case, case.knr), 15)),
+     lambda case: h.shorten(hide_if_anonymized(case, case.knr), 15)),
 
     (_('cm_overview_tbl_header_lastname'), "name_1", "table_name", all_roles,
-     lambda case: h.getCaseShort(hide_if_anonymized(case, case.last_name), 15)),
+     lambda case: h.shorten(hide_if_anonymized(case, case.last_name), 15)),
 
     (_('cm_overview_tbl_header_firstname'), "vorname_1", "table_name",
      all_roles,
-     lambda case: h.getCaseShort(hide_if_anonymized(case, case.first_name),15)),
+     lambda case: h.shorten(hide_if_anonymized(case, case.first_name),15)),
 
     (_('cm_overview_tbl_header_editor'), "bearbeiter_id", "table_name",
      ["admin"],



More information about the Mpuls-commits mailing list