diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-08-18 19:48:37 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-08-18 19:48:37 +0200 |
commit | 942c7fba011c5f7c3224fe16a4d7ac32b29e4146 (patch) | |
tree | d3e9132814747fa63a8c8dfc2eb6af632df0d1d5 /views/prediction.haml | |
parent | 2180bd0303d98ae003341264a44e785d45208873 (diff) |
display of empty predictions fixed
Diffstat (limited to 'views/prediction.haml')
-rw-r--r-- | views/prediction.haml | 2 |
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] |