[Mpuls-commits] r4452 - jmd/trunk/jmdweb/templates

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Dec 29 12:34:54 CET 2010


Author: torsten
Date: 2010-12-29 12:34:53 +0100 (Wed, 29 Dec 2010)
New Revision: 4452

Modified:
   jmd/trunk/jmdweb/templates/main.mako
Log:
* jmdweb/templates/main.mako: Fixed main template and added agency-overview.


Modified: jmd/trunk/jmdweb/templates/main.mako
===================================================================
--- jmd/trunk/jmdweb/templates/main.mako	2010-12-29 09:09:44 UTC (rev 4451)
+++ jmd/trunk/jmdweb/templates/main.mako	2010-12-29 11:34:53 UTC (rev 4452)
@@ -156,19 +156,21 @@
         </div>
       </div>
     % endif
-    % 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='/evaluation_overview', action='overview')}">
+                <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