[Mpuls-commits] r633 - wasko/branches/1.0/waskaweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Oct 14 12:32:44 CEST 2009
Author: torsten
Date: 2009-10-14 12:32:44 +0200 (Wed, 14 Oct 2009)
New Revision: 633
Modified:
wasko/branches/1.0/waskaweb/templates/casemanagement/phase.mako
Log:
Issue504
Modified: wasko/branches/1.0/waskaweb/templates/casemanagement/phase.mako
===================================================================
--- wasko/branches/1.0/waskaweb/templates/casemanagement/phase.mako 2009-10-14 07:23:03 UTC (rev 632)
+++ wasko/branches/1.0/waskaweb/templates/casemanagement/phase.mako 2009-10-14 10:32:44 UTC (rev 633)
@@ -51,11 +51,17 @@
<td style="text-align:right">
% if is_allowed:
% if (p1.isRecursiveComplete() and not p1.isRunning() and (p1.isNeighbor(c.current_phase) or c.current_phase.hasPredecessor(p1))):
- ##and (c.current_phase.phase == 3 and c.nachbetreuung_geplant):
- <input type="submit" value="Start" name="${p1.getLabel()|h}">
+ % if c.current_phase.phase == 3:
+ % if c.nachbetreuung_geplant:
+ <input type="submit" value="Start" name="${p1.getLabel()|h}">
+ % else:
+ <input type="submit" value="Start" name="${p1.getLabel()|h}" disabled="disabled">
+ % endif
+ % else:
+ <input type="submit" value="Start" name="${p1.getLabel()|h}">
+ % endif
% else:
- <input type="submit" value="Start" name="${p1.getLabel()|h}"
- disabled="disabled">
+ <input type="submit" value="Start" name="${p1.getLabel()|h}" disabled="disabled">
% endif
% endif
</td>
More information about the Mpuls-commits
mailing list