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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 2 18:49:06 CET 2010


Author: torsten
Date: 2010-12-02 18:49:05 +0100 (Thu, 02 Dec 2010)
New Revision: 4318

Modified:
   base/trunk/mpulsweb/templates/casemanagement/digest.mako
Log:
* mpulsweb/templates/casemanagement/digest.mako: Issue738: Added info on editor to the digest.


Modified: base/trunk/mpulsweb/templates/casemanagement/digest.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/digest.mako	2010-12-02 17:08:06 UTC (rev 4317)
+++ base/trunk/mpulsweb/templates/casemanagement/digest.mako	2010-12-02 17:49:05 UTC (rev 4318)
@@ -108,6 +108,11 @@
 <%def name="renderCaseStateInfo(case)">
   <h2>${_('Information on case')}</h2>
   <table>
+    <% editor = c.case.getEditor() %> 
+    <tr class="">
+      <td class="label">${_('Editor')}</td>
+      <td>${editor.last_name | F.NA}, ${editor.first_name | F.NA}
+    </tr>
     <% casetype = g.mpuls_config.get('phases', 'casetype')[0].get(str(c.case.getState().getPhase())) %>
     % if casetype is not None:
       <tr class="">



More information about the Mpuls-commits mailing list