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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri May 27 10:52:38 CEST 2011


Author: torsten
Date: 2011-05-27 10:52:38 +0200 (Fri, 27 May 2011)
New Revision: 5012

Modified:
   base/trunk/mpulsweb/templates/casemanagement/digest.mako
Log:
Issue1913: Added ID of case to the digest. Fixed layout.


Modified: base/trunk/mpulsweb/templates/casemanagement/digest.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/digest.mako	2011-05-27 08:45:50 UTC (rev 5011)
+++ base/trunk/mpulsweb/templates/casemanagement/digest.mako	2011-05-27 08:52:38 UTC (rev 5012)
@@ -108,16 +108,20 @@
 <%def name="renderCaseStateInfo(case)">
   <h2>${_('Information on case')}</h2>
   <table>
-    <% editor = c.case.getEditor() %> 
+    <tr class="hl">
+      <td class="label">${_('ID')}</td>
+      <td>${c.case.id}</td>
+    </tr>
+    <% editor = c.case.getEditor() %>
     <tr class="">
       <td class="label">${_('Editor')}</td>
-      <td>${editor.last_name | F.NA}, ${editor.first_name | F.NA}
+      <td>${editor.last_name | F.NA}, ${editor.first_name | F.NA}</td>
     </tr>
     <% casetype = g.mpuls_config.get('phases', 'casetype')[0].get(str(c.case.getState().getPhase())) %>
     % if casetype is not None:
       <tr class="">
         <td class="label">${_('Casetype')}</td>
-        <td>${casetype}
+        <td>${casetype}</td>
       </tr>
     % endif
     <tr class="hl">



More information about the Mpuls-commits mailing list