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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Jun 3 12:03:06 CEST 2010


Author: torsten
Date: 2010-06-03 12:03:05 +0200 (Thu, 03 Jun 2010)
New Revision: 2867

Modified:
   base/trunk/mpulsweb/templates/casemanagement/digest_body.mako
Log:
Added
	information on phase and validity in case digest.


Modified: base/trunk/mpulsweb/templates/casemanagement/digest_body.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/digest_body.mako	2010-06-03 09:41:49 UTC (rev 2866)
+++ base/trunk/mpulsweb/templates/casemanagement/digest_body.mako	2010-06-03 10:03:05 UTC (rev 2867)
@@ -54,6 +54,24 @@
   % endif
 % endif
 
+<h2>${_('Information on case')}</h2>
+<table>
+  <tr class="">
+    <td class="label">${_('Phase')}</td>
+    <td>${c.case.getState().getPhaseDescription()}</td>
+  </tr>
+  <tr class="hl">
+    <td class="label">${_('Validity')}</td>
+    <td>
+      % for validity in g.mpuls_config.get('validities', 'enabled'):
+        % if validity['id'] == c.case.getValidity():  
+          ${validity['name']}
+        % endif
+      % endfor
+    </td>
+  </tr>
+</table>
+
 <h2>${_('cm_header_digest_youth')}</h2>
 <table>
   % for num, field in enumerate(c.case.get_digest_fields()):



More information about the Mpuls-commits mailing list