[Mpuls-commits] r2548 - wasko/branches/2.0/mpulsweb/templates/formularpage
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Apr 28 14:20:36 CEST 2010
Author: torsten
Date: 2010-04-28 14:20:36 +0200 (Wed, 28 Apr 2010)
New Revision: 2548
Modified:
wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako
Log:
* mpulsweb/templates/formularpage/formular.mako: Wald #1426. Do not allow do edit
"schwebend gel?\195?\182schte" cases.
Modified: wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako
===================================================================
--- wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako 2010-04-28 12:18:14 UTC (rev 2547)
+++ wasko/branches/2.0/mpulsweb/templates/formularpage/formular.mako 2010-04-28 12:20:36 UTC (rev 2548)
@@ -23,7 +23,7 @@
</div>
<div class="actions">
<ul>
- % if h.hasRole(['cm_ka']) and session.get('case').getState().state not in (4,5):
+ % if h.hasRole(['cm_ka']) and session.get('case').getState().state not in (3,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