[Mpuls-commits] r5643 - wasko/trunk/waskoweb/templates/casemanagement

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 22 15:24:44 CET 2011


Author: ludwig
Date: 2011-11-22 15:24:43 +0100 (Tue, 22 Nov 2011)
New Revision: 5643

Modified:
   wasko/trunk/waskoweb/templates/casemanagement/main.mako
Log:
Wasko Meta: Add meta link to the case navigation, if mpuls-server is set.


Modified: wasko/trunk/waskoweb/templates/casemanagement/main.mako
===================================================================
--- wasko/trunk/waskoweb/templates/casemanagement/main.mako	2011-11-22 14:15:22 UTC (rev 5642)
+++ wasko/trunk/waskoweb/templates/casemanagement/main.mako	2011-11-22 14:24:43 UTC (rev 5643)
@@ -117,6 +117,16 @@
                 </a>
             </li>
         % endif
+	% if g.mpuls_config.is_enabled('case-module', 'meta-server') and session.get('case').getState().getState() == 1 and h.hasRole(['cm']):
+        <li>
+          <a href="${h.url_for(controller='/meta', 
+                               action='index', 
+                               id=session.get('case').id)}" 
+                    onclick="return checkModification();">
+                    ${_('Meta case')}
+          </a>
+        </li>
+        % endif
       </ul>
     % endif
      </div>



More information about the Mpuls-commits mailing list