[Mpuls-commits] r5785 - base/branches/2.1.0/mpulsweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jan 23 18:07:25 CET 2012


Author: torsten
Date: 2012-01-23 18:07:25 +0100 (Mon, 23 Jan 2012)
New Revision: 5785

Modified:
   base/branches/2.1.0/mpulsweb/templates/casemanagement/caselist.mako
Log:
Although a good idea i reverted link on validity icon in case overview as the makes it currently
possible to open a case without showing nag-screens for missing statements.
This needs some work and can can be readded.


Modified: base/branches/2.1.0/mpulsweb/templates/casemanagement/caselist.mako
===================================================================
--- base/branches/2.1.0/mpulsweb/templates/casemanagement/caselist.mako	2012-01-23 16:19:03 UTC (rev 5784)
+++ base/branches/2.1.0/mpulsweb/templates/casemanagement/caselist.mako	2012-01-23 17:07:25 UTC (rev 5785)
@@ -126,10 +126,10 @@
 
 <%def name="get_validity_icon(case)">
   % for validity in g.mpuls_config.get('validities', 'enabled'):
-    % if validity['id'] == case.getValidity():  
-      <a href="${h.url_for(controller='tags', action='overview', id=case.id)}">
+    % if validity['id'] == case.getValidity():
+      ##<a href="${h.url_for(controller='tags', action='overview', id=case.id)}">
         <img src="${h.url_for('/images/icons/%s' % validity['icon'])}" alt="${validity['name']}" title="${validity['name']}" width="22" height="22">
-      </a>  	
+      ##</a>
     % endif
   % endfor
 </%def>



More information about the Mpuls-commits mailing list