[Mpuls-commits] r3968 - waska/trunk/waskaweb/templates
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Oct 12 15:28:53 CEST 2010
Author: torsten
Date: 2010-10-12 15:28:53 +0200 (Tue, 12 Oct 2010)
New Revision: 3968
Modified:
waska/trunk/waskaweb/templates/main.mako
Log:
* waskaweb/templates/main.mako: Deleted structure part from waska main template.
Modified: waska/trunk/waskaweb/templates/main.mako
===================================================================
--- waska/trunk/waskaweb/templates/main.mako 2010-10-12 13:04:06 UTC (rev 3967)
+++ waska/trunk/waskaweb/templates/main.mako 2010-10-12 13:28:53 UTC (rev 3968)
@@ -132,43 +132,6 @@
% endif
</div>
</div>
- <!--
- Does WASKA use a structure part? If not, delete this
- -->
- <!--
- <%
- from mpulsweb.model.agencysettings import Agency
- permission = [int(id) for id in Agency().get_value('jmdstrukur_permission_userid', []).split(',') if id != '']
- %>
- % if session['USER_AUTHORIZED'].id in permission or h.hasRole(['admin']):
- <div class="menu">
- <div class="actions">
- <h1>${_('Strukturdaten')}</h1>
- <ul>
- % if session['USER_AUTHORIZED'].id in permission:
- <li>
- <a href="${h.url_for(controller='/jmdstruktur')}">
- ${_('JMD-Fallakten')}
- </a>
- </li>
- <li>
- <a href="${h.url_for(controller='/jmdstruktur/new')}">
- ${_('JMD-Fallakte anlegen')}
- </a>
- </li>
- %endif
- %if h.hasRole(['admin']):
- <li>
- <a href="${h.url_for(controller='/jmdstruktur/permission')}">
- ${_('Benutzerberechtigungen')}
- </a>
- </li>
- %endif
- </ul>
- </div>
- </div>
- % endif
- -->
% if g.mpuls_config.is_enabled('module', 'evaluation'):
<div class="menu">
<div class="actions">
More information about the Mpuls-commits
mailing list