[Mpuls-commits] r3242 - base/trunk/mpulsweb/templates/phase
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jul 26 12:18:50 CEST 2010
Author: torsten
Date: 2010-07-26 12:18:50 +0200 (Mon, 26 Jul 2010)
New Revision: 3242
Modified:
base/trunk/mpulsweb/templates/phase/phase.mako
Log:
Fixed hiding phases
Modified: base/trunk/mpulsweb/templates/phase/phase.mako
===================================================================
--- base/trunk/mpulsweb/templates/phase/phase.mako 2010-07-26 10:13:44 UTC (rev 3241)
+++ base/trunk/mpulsweb/templates/phase/phase.mako 2010-07-26 10:18:50 UTC (rev 3242)
@@ -38,7 +38,8 @@
% if c.phases.is_on_path(p1.id, current_phase) \
or c.phases.is_on_path(p2.id, current_phase) \
or p1.id in c.phases.get_reachable_path(current_phase, False) \
- or p2.id in c.phases.get_reachable_path(current_phase, False):
+ or p2.id in c.phases.get_reachable_path(current_phase, False) \
+ or current_phase == '-1':
<tr class="${(num%2) and 'hl' or ''}">
<td rowspan="2" class="bold center middle">
${phase.getDescription()}<br>
More information about the Mpuls-commits
mailing list