[Mpuls-commits] r1805 - in wasko/branches/2.0: . waskaweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Feb 25 16:28:30 CET 2010
Author: bh
Date: 2010-02-25 16:28:30 +0100 (Thu, 25 Feb 2010)
New Revision: 1805
Modified:
wasko/branches/2.0/ChangeLog
wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
Log:
* waskaweb/templates/casemanagement/caselist.mako (fields): Port
fix for empty editor names from jmdweb.
Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog 2010-02-25 15:27:18 UTC (rev 1804)
+++ wasko/branches/2.0/ChangeLog 2010-02-25 15:28:30 UTC (rev 1805)
@@ -1,5 +1,10 @@
2010-02-25 Bernhard Herzog <bh at intevation.de>
+ * waskaweb/templates/casemanagement/caselist.mako (fields): Port
+ fix for empty editor names from jmdweb.
+
+2010-02-25 Bernhard Herzog <bh at intevation.de>
+
* jmdweb/templates/casemanagement/caselist.mako (fields): Handle
empty first or last names of a case's editor.
Modified: wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako
===================================================================
--- wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako 2010-02-25 15:27:18 UTC (rev 1804)
+++ wasko/branches/2.0/waskaweb/templates/casemanagement/caselist.mako 2010-02-25 15:28:30 UTC (rev 1805)
@@ -38,8 +38,8 @@
(_('cm_overview_tbl_header_editor'), "bearbeiter_id", "table_name",
["admin"],
- lambda case: "%s, %s" % (case.getEditor().last_name,
- case.getEditor().first_name[0])),
+ lambda case: "%s, %s" % (F.NA(case.getEditor().last_name),
+ F.NA(case.getEditor().first_name[:1]))),
(_('cm_overview_tbl_header_accesstime'), "zugriff", "table_name", ["cm"],
lambda case: h.format_date(case.state.getAccessTime())),
More information about the Mpuls-commits
mailing list