[Mpuls-commits] r1747 - wasko/branches/2.0/mpulsweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Feb 24 14:05:08 CET 2010
Author: torsten
Date: 2010-02-24 14:05:07 +0100 (Wed, 24 Feb 2010)
New Revision: 1747
Modified:
wasko/branches/2.0/mpulsweb/model/phase.py
Log:
* mpulsweb/model/phase.py (Field.get_link): Fixed generating style for links.
Modified: wasko/branches/2.0/mpulsweb/model/phase.py
===================================================================
--- wasko/branches/2.0/mpulsweb/model/phase.py 2010-02-24 11:52:55 UTC (rev 1746)
+++ wasko/branches/2.0/mpulsweb/model/phase.py 2010-02-24 13:05:07 UTC (rev 1747)
@@ -124,7 +124,7 @@
def get_link(self):
out = []
case_id = session['case'].id
- style = "ok" and self.is_ok() or "error"
+ style = self.is_ok() and "ok" or "error"
out.append('<a class="%s" href="/formularpage/select/%s:%s#%s">'
% (style, self.page, case_id, self.name))
out.append('%s' % self.label)
More information about the Mpuls-commits
mailing list