[Mpuls-commits] r2464 - wasko/branches/2.0/mpulsweb/templates/formularpage

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Apr 21 18:45:38 CEST 2010


Author: torsten
Date: 2010-04-21 18:45:38 +0200 (Wed, 21 Apr 2010)
New Revision: 2464

Modified:
   wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako
Log:
* mpulsweb/templates/formularpage/formular.mako: Wald #1426:
	"Schwend anonymisierte" can not be selected now.


Modified: wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako	2010-04-21 16:38:14 UTC (rev 2463)
+++ wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako	2010-04-21 16:45:38 UTC (rev 2464)
@@ -23,7 +23,7 @@
     </div>
     <div class="actions">
       <ul>
-        % if h.hasRole(['cm_ka']):
+        % if h.hasRole(['cm_ka']) and session.get('case').getState().state not in (4,5):
           % if session.get('render_mode') == 'ro':
             <li><a href="/formularpage/edit/${c.page_id}" onclick="return checkModification();"> ${_('cm_actions_link_edit')}</a></li>
           % else:



More information about the Mpuls-commits mailing list