[Mpuls-commits] r5118 - in jmd/trunk: . jmdstrukturweb/templates
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jun 21 15:11:17 CEST 2011
Author: roland
Date: 2011-06-21 15:11:16 +0200 (Tue, 21 Jun 2011)
New Revision: 5118
Modified:
jmd/trunk/ChangeLog
jmd/trunk/jmdstrukturweb/templates/main.mako
Log:
show the agency-overwier in the structure part too
Modified: jmd/trunk/ChangeLog
===================================================================
--- jmd/trunk/ChangeLog 2011-06-21 13:09:23 UTC (rev 5117)
+++ jmd/trunk/ChangeLog 2011-06-21 13:11:16 UTC (rev 5118)
@@ -1,3 +1,8 @@
+2011-06-21 Roland Geider <roland.geider at intevation.de>
+
+ * jmdstrukturweb/templates/main.mako: show the agency-overwier in the
+ structure part too
+
2011-06-20 Roland Geider <roland.geider at intevation.de>
* jmdstrukturweb/public/xml/eval_struktur.xml: issue1802: add evaluations
Modified: jmd/trunk/jmdstrukturweb/templates/main.mako
===================================================================
--- jmd/trunk/jmdstrukturweb/templates/main.mako 2011-06-21 13:09:23 UTC (rev 5117)
+++ jmd/trunk/jmdstrukturweb/templates/main.mako 2011-06-21 13:11:16 UTC (rev 5118)
@@ -121,7 +121,22 @@
% endif
</div>
</div>
- <%include file="switch_to_other_datasets.mako" />
+ % 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='index')}">
+ ${_('Agency')}
+ </a>
+ </li>
+ </ul>
+ </div>
+ </div>
+ % else:
+ <%include file="switch_to_other_datasets.mako" />
+ % endif
% if g.mpuls_config.is_enabled('module', 'evaluation'):
<div class="menu">
<div class="actions">
More information about the Mpuls-commits
mailing list