[Mpuls-commits] r2785 - waska/branches/1.7/waskaweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu May 27 17:21:49 CEST 2010
Author: roland
Date: 2010-05-27 17:21:49 +0200 (Thu, 27 May 2010)
New Revision: 2785
Modified:
waska/branches/1.7/waskaweb/templates/casemanagement/phase.mako
Log:
Show a dialog if the CM phase was aborted
Modified: waska/branches/1.7/waskaweb/templates/casemanagement/phase.mako
===================================================================
--- waska/branches/1.7/waskaweb/templates/casemanagement/phase.mako 2010-05-27 15:20:12 UTC (rev 2784)
+++ waska/branches/1.7/waskaweb/templates/casemanagement/phase.mako 2010-05-27 15:21:49 UTC (rev 2785)
@@ -65,10 +65,10 @@
</td>
<td class="table_row_h">${h.dd_mm_YYYY(p2.getTime(), '-/-')}</td>
<td style="text-align:right" class="table_row_h">
+ <% phase_disabled = False %>
% if is_allowed:
% if (p2.isRecursiveComplete() and not p2.isRunning() and p2.isNeighbor(c.current_phase) and not c.current_phase.hasPredecessor(p2)) or not session.get('case').isYoungerThan('2008-09-01'):
<input type="submit" value="Ende" name="${p2.getLabel()|h}">
- <% phase_disabled = False %>
% else:
<% phase_disabled = True %>
<input type="submit" value="Ende" name="${p2.getLabel()|h}"
More information about the Mpuls-commits
mailing list