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

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


Author: roland
Date: 2010-06-08 12:44:13 +0200 (Tue, 08 Jun 2010)
New Revision: 2920

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

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-06-08 10:40:27 UTC (rev 2919)
+++ base/trunk/ChangeLog	2010-06-08 10:44:13 UTC (rev 2920)
@@ -1,6 +1,7 @@
 2010-06-08  Roland Geider <roland.geider at intevation.de>
 
-        * mpulsweb/templates/casemanagement/caselist.mako: make the validity
+        * mpulsweb/templates/casemanagement/caselist.mako,
+        mpulsweb/templates/casemanagement/digest_body.mako: make the validity
         icon configurable
 
 2010-06-08  Roland Geider <roland.geider at intevation.de>

Modified: base/trunk/mpulsweb/templates/casemanagement/digest_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/digest_body.mako	2010-06-08 10:40:27 UTC (rev 2919)
+++ base/trunk/mpulsweb/templates/casemanagement/digest_body.mako	2010-06-08 10:44:13 UTC (rev 2920)
@@ -60,6 +60,7 @@
     <td class="label">${_('Phase')}</td>
     <td>${c.case.getState().getPhaseDescription()}</td>
   </tr>
+  % if g.mpuls_config.is_enabled('case-module', 'tags'):
   <tr class="hl">
     <td class="label">${_('Validity')}</td>
     <td>
@@ -70,6 +71,7 @@
       % endfor
     </td>
   </tr>
+  % endif
 </table>
 
 <h2>${_('cm_header_digest_youth')}</h2>



More information about the Mpuls-commits mailing list