diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-08-18 19:20:28 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-08-18 19:20:28 +0200 |
commit | 2180bd0303d98ae003341264a44e785d45208873 (patch) | |
tree | 7e166b20f07f10425b48f10b4f94defc1e4393f0 | |
parent | 3469bfb52686ca69193df5a3321f8d25ba601186 (diff) |
display of empty predictions fixed
-rw-r--r-- | helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,8 @@ helpers do case activity.class.to_s when /Float/ haml ".other #{sprintf('%.03g', activity)}", :layout => false + when /String/ + haml ".other #{activity.to_s}", :layout => false else if activity #true haml ".active active", :layout => false |