[Mpuls-commits] r4445 - base/trunk/mpulsweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Dec 28 15:50:24 CET 2010


Author: torsten
Date: 2010-12-28 15:50:24 +0100 (Tue, 28 Dec 2010)
New Revision: 4445

Modified:
   base/trunk/mpulsweb/templates/main.mako
Log:
Only show agency overview if it is enabled in config.


Modified: base/trunk/mpulsweb/templates/main.mako
===================================================================
--- base/trunk/mpulsweb/templates/main.mako	2010-12-28 14:49:28 UTC (rev 4444)
+++ base/trunk/mpulsweb/templates/main.mako	2010-12-28 14:50:24 UTC (rev 4445)
@@ -132,19 +132,21 @@
         % endif
       </div>
     </div>
-    % if g.mpuls_config.is_enabled('module', 'evaluation'):
+    % if g.mpuls_config.is_enabled('module', 'agency-overview'):
       <div class="menu">
         <div class="actions">
           <h1>${_('Overview')}</h1>
             <ul>
               <li>
-                <a href="${h.url_for(controller='/case', action='importCase')}">
-                  ${_('menu_cm_link_import')}
+                <a href="${h.url_for(controller='/evaluation_overview', action='index')}">
+                  ${_('Agency')}
                 </a>
               </li>
             </ul>
         </div>
       </div>
+    % endif
+    % if g.mpuls_config.is_enabled('module', 'evaluation'):
       <div class="menu">
         <div class="actions">
           <h1>${_('Evaluations')}</h1>



More information about the Mpuls-commits mailing list