[Mpuls-commits] r2802 - waska/branches/1.7/waskaweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri May 28 15:40:15 CEST 2010


Author: torsten
Date: 2010-05-28 15:40:13 +0200 (Fri, 28 May 2010)
New Revision: 2802

Modified:
   waska/branches/1.7/waskaweb/templates/casemanagement/digest_body.mako
Log:
Show validity in digest


Modified: waska/branches/1.7/waskaweb/templates/casemanagement/digest_body.mako
===================================================================
--- waska/branches/1.7/waskaweb/templates/casemanagement/digest_body.mako	2010-05-28 13:27:04 UTC (rev 2801)
+++ waska/branches/1.7/waskaweb/templates/casemanagement/digest_body.mako	2010-05-28 13:40:13 UTC (rev 2802)
@@ -68,8 +68,20 @@
     <td class="table_row_v_2">${ c.phasedescription } ( ${ c.phasestate } )</td>
   </tr>
   <tr>
-    <td class="label table_header_v">${_('Start- Enddaten')}</td>
+    <td class="label  table_header_v">${_('Validity')}</td>
     <td class="table_row_v">
+    % if h.get_validity(c.digest.tags) == 5:
+      Für die ESF-Berichtausstattung auswertbar
+    % elif h.get_validity(c.digest.tags) == 4:
+      Grundsätzlich auswertbar
+    % else:
+      Nicht auswertbar
+    % endif
+    </td>
+  </tr>
+  <tr>
+    <td class="label table_width_mid_l">${_('Start- Enddaten')}</td>
+    <td class="table_row_v_2">
     % for phase_pair in c.phase_pairs:
       ## only show dates up to the current phase
       % if phase_pair.getStart().phase <= c.phase or phase_pair.getEnd().phase <= c.phase:



More information about the Mpuls-commits mailing list