diff options
author | mr <mr@mrautenberg.de> | 2011-02-21 15:45:49 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-02-21 15:45:49 +0100 |
commit | c7fdbd935660ec29fed16646b2ac0c9fb585644a (patch) | |
tree | 61e9a7b545e3fb198f846155f4397ca068a67bcc | |
parent | cf3995c5b82dcd29763bfa22bfbfb4030bddef7d (diff) |
models view
-rw-r--r-- | views/models.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/models.haml b/views/models.haml index ab113c5..a99144a 100644 --- a/views/models.haml +++ b/views/models.haml @@ -1,4 +1,4 @@ -- stati = @models.map{|m| "#{m.id}" if m.status != "Completed"}.compact +- stati = @models.map{|m| "#{m.id}" if m.status !~ /Completed|Error/}.compact - stati_to_check = stati.length > 0 ? stati.join(", ") : stati = 0 :javascript $(function() { |