summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
authorChristoph Helma <ch@in-silico.ch>2010-02-11 11:15:26 +0100
committerChristoph Helma <ch@in-silico.ch>2010-02-11 11:15:26 +0100
commit00aef9b6afceeb33d00b79bb7fceb65521c5f983 (patch)
treeb0f0c6deb588657e5939bc8854b4a35e588af869 /views/prediction.haml
parent98d5f6baac6faa4463b91c69921b5ad7795d3f3c (diff)
more informative instructions added
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index 74e0956..241b01c 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -27,6 +27,9 @@
- elsif activity(p[:prediction]) == 'inactive'
.inactive
= activity(p[:prediction])
+ - else
+ %br
+ %em not available
- if p[:confidence]
%br
= "(confidence: #{sprintf('%.03f', p[:confidence].to_f.abs)})"