[Mpuls-commits] r2859 - base/trunk/mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 3 10:53:30 CEST 2010


Author: torsten
Date: 2010-06-03 10:53:30 +0200 (Thu, 03 Jun 2010)
New Revision: 2859

Modified:
   base/trunk/mpulsweb/templates/casemanagement/caselist.mako
Log:
Fixed showing validity icons in caselist


Modified: base/trunk/mpulsweb/templates/casemanagement/caselist.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-06-03 08:45:22 UTC (rev 2858)
+++ base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-06-03 08:53:30 UTC (rev 2859)
@@ -111,7 +111,7 @@
   <!-- ${case.getTags()} -->
   <% validities = g.mpuls_config.get('validities', 'enabled') %>
   <% max_tag = max(case.getTags()) or 1 %>
-  <img src="/images/icons/validity-${validities['%s' % max_tag]['id']}-22.png">
+  <img src="/images/icons/validity-${validities[max_tag]['id']}-22.png">
   
   % if phase == -1:
       ${g.mpuls_config.get('phases', 'shortdescription')[0]['-1']}



More information about the Mpuls-commits mailing list