[Mpuls-commits] r2919 - in base/trunk: . mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Jun 8 12:40:28 CEST 2010


Author: roland
Date: 2010-06-08 12:40:27 +0200 (Tue, 08 Jun 2010)
New Revision: 2919

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/caselist.mako
Log:
make the validity icon configurable

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-06-08 10:32:55 UTC (rev 2918)
+++ base/trunk/ChangeLog	2010-06-08 10:40:27 UTC (rev 2919)
@@ -1,5 +1,10 @@
 2010-06-08  Roland Geider <roland.geider at intevation.de>
 
+        * mpulsweb/templates/casemanagement/caselist.mako: make the validity
+        icon configurable
+
+2010-06-08  Roland Geider <roland.geider at intevation.de>
+
         * mpulsweb/lib/config.py,
         mpulsweb/templates/casemanagement/main.mako: make the case copy
         function configurable

Modified: base/trunk/mpulsweb/templates/casemanagement/caselist.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-06-08 10:32:55 UTC (rev 2918)
+++ base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-06-08 10:40:27 UTC (rev 2919)
@@ -98,7 +98,9 @@
   % endfor
   <td>
     ${get_phase_icon(case)}
-    ${get_validity_icon(case)}
+    % if g.mpuls_config.is_enabled('case-module', 'tags'):
+        ${get_validity_icon(case)}
+    % endif
     ${get_state_icon(case)}
   </td>
   <td>
@@ -168,11 +170,6 @@
 
 <%def name="get_state_icon(case)">
   
-<!-- <img src    = "/images/icons/validity-5-22.png" border="0"
-           alt    = "${_('cm_overview_img_editor')}" 
-           title  = "${_('cm_overview_img_editor')}"
-           width  = "22"
-           height = "22"> -->
   % if h.hasRole(['cm_ka']):
     % if str(case.getEditor().id) == str(session.get('USER_AUTHORIZED').id):
       <img src    = "${h.url_for('/images/icons/edit_editor.png')}"



More information about the Mpuls-commits mailing list