[Mpuls-commits] r745 - in waska/trunk: . waskaweb/public/images waskaweb/templates/casemanagement
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jan 11 13:58:45 CET 2010
Author: torsten
Date: 2010-01-11 13:58:44 +0100 (Mon, 11 Jan 2010)
New Revision: 745
Added:
waska/trunk/waskaweb/public/images/phase_none.gif
Modified:
waska/trunk/ChangeLog.txt
waska/trunk/waskaweb/templates/casemanagement/caselist.mako
Log:
Issue 911
Modified: waska/trunk/ChangeLog.txt
===================================================================
--- waska/trunk/ChangeLog.txt 2010-01-08 09:54:23 UTC (rev 744)
+++ waska/trunk/ChangeLog.txt 2010-01-11 12:58:44 UTC (rev 745)
@@ -1,3 +1,11 @@
+2009-12-10 Torsten Irlaender <torsten.irlaender at intevation.de>
+
+ Issue911:
+
+ * waskaweb/public/images/phase_none.gif,
+ waskaweb/templates/casemanagement/caselist.mako: Added "empty" icon
+ if phase is not set.
+
2010-01-08 Frank Koormann <frank.koormann at intevation.de>
* waskaweb/model/appointment.py, waskaweb/model/phases_factory.py:
Added: waska/trunk/waskaweb/public/images/phase_none.gif
===================================================================
(Binary files differ)
Property changes on: waska/trunk/waskaweb/public/images/phase_none.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: waska/trunk/waskaweb/templates/casemanagement/caselist.mako
===================================================================
--- waska/trunk/waskaweb/templates/casemanagement/caselist.mako 2010-01-08 09:54:23 UTC (rev 744)
+++ waska/trunk/waskaweb/templates/casemanagement/caselist.mako 2010-01-11 12:58:44 UTC (rev 745)
@@ -54,7 +54,9 @@
% endif
<td>
## Show information based on phase
- % if case.getState().phase == 0:
+ % if case.getState().phase == -1:
+ <img src="/images/phase_none.gif" border="0" title="Keine Phase gesetzt">
+ % elif case.getState().phase == 0:
<img src="/images/phase_a_running.gif" border="0" title="Eingangsanamnese läuft">
% elif case.getState().phase == 1:
<img src="/images/phase_a_finished.gif" border="0" title="Eingangsanamnese beendet">
@@ -131,7 +133,9 @@
% endif
<td class="table_row_h">
## Show information based on phase
- % if case.getState().phase == 0:
+ % if case.getState().phase == -1:
+ <img src="/images/phase_none.gif" border="0" title="Keine Phase gesetzt">
+ % elif case.getState().phase == 0:
<img src="/images/phase_a_running.gif" border="0" title="Eingangsanamnese läuft">
% elif case.getState().phase == 1:
<img src="/images/phase_a_finished.gif" border="0" title="Eingangsanamnese beendet">
More information about the Mpuls-commits
mailing list