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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 15 13:54:47 CET 2011


Author: ludwig
Date: 2011-11-15 13:54:46 +0100 (Tue, 15 Nov 2011)
New Revision: 5576

Modified:
   base/trunk/mpulsweb/templates/casemanagement/caselist.mako
Log:
Issue 2649 In the overview the status icon is linked to the tags-overview of
a case. So the tags overview can be reached from the cases overview.


Modified: base/trunk/mpulsweb/templates/casemanagement/caselist.mako
===================================================================
--- base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2011-11-15 11:50:43 UTC (rev 5575)
+++ base/trunk/mpulsweb/templates/casemanagement/caselist.mako	2011-11-15 12:54:46 UTC (rev 5576)
@@ -126,7 +126,9 @@
 <%def name="get_validity_icon(case)">
   % for validity in g.mpuls_config.get('validities', 'enabled'):
     % if validity['id'] == case.getValidity():  
-      <img src="${h.url_for('/images/icons/%s' % validity['icon'])}" alt="${validity['name']}" title="${validity['name']}" width="22" height="22">
+      <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>  	
     % endif
   % endfor
 </%def>



More information about the Mpuls-commits mailing list