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

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


Author: roland
Date: 2010-06-08 12:50:22 +0200 (Tue, 08 Jun 2010)
New Revision: 2921

Modified:
   base/trunk/ChangeLog
   base/trunk/mpulsweb/templates/casemanagement/caselist.mako
Log:
show the status icon with unknown phase

Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog	2010-06-08 10:44:13 UTC (rev 2920)
+++ base/trunk/ChangeLog	2010-06-08 10:50:22 UTC (rev 2921)
@@ -1,7 +1,8 @@
 2010-06-08  Roland Geider <roland.geider at intevation.de>
 
-        * mpulsweb/templates/casemanagement/caselist.mako,
-        mpulsweb/templates/casemanagement/digest_body.mako: make the validity
+        * mpulsweb/templates/casemanagement/caselist.mako: show the status
+        icon with unknown phase
+        * 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/caselist.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-06-08 10:44:13 UTC (rev 2920)
+++ base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2010-06-08 10:50:22 UTC (rev 2921)
@@ -120,7 +120,17 @@
   <% phase = case.getState().getPhase() %>
   <% running = not phase%2 %>
   % if phase == -1:
-      ${g.mpuls_config.get('phases', 'shortdescription')[0]['-1']}
+      <span title="${g.mpuls_config.get('phases', 'description')[0]['-1']}">
+            <img src="${h.url_for('/images/icons/validity-background.png')}" alt="">
+      </span>
+       
+      <span style="margin-left:-16px;" title="${g.mpuls_config.get('phases', 'description')[0]['-1']}">
+           <img src="${h.url_for('/images/icons/phase-stop-22.png')}" alt="">
+      </span>
+
+      <span style="color:#2e3436;font-size:large;margin-left:-27px;padding-right:9px;" title="${g.mpuls_config.get('phases', 'description')[0]['-1']}">
+           ${g.mpuls_config.get('phases', 'shortdescription')[0]['-1'][0]}
+      </span>
   % else:
     % for k,p in g.mpuls_config.get('phases', 'pairs')[0].iteritems():
       % if str(phase) in p:



More information about the Mpuls-commits mailing list