summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-08-18 19:48:37 +0200
committerChristoph Helma <helma@in-silico.ch>2010-08-18 19:48:37 +0200
commit942c7fba011c5f7c3224fe16a4d7ac32b29e4146 (patch)
treed3e9132814747fa63a8c8dfc2eb6af632df0d1d5 /views/prediction.haml
parent2180bd0303d98ae003341264a44e785d45208873 (diff)
display of empty predictions fixed
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index dd7d155..0140b5e 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -25,6 +25,8 @@
});
)
+ - elsif p[:prediction].to_s.match(/not available/)
+ = p[:prediction]
- else
= activity_markup(p[:prediction])
- if p[:confidence]