summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-02-21 15:45:49 +0100
committermr <mr@mrautenberg.de>2011-02-21 15:45:49 +0100
commitc7fdbd935660ec29fed16646b2ac0c9fb585644a (patch)
tree61e9a7b545e3fb198f846155f4397ca068a67bcc
parentcf3995c5b82dcd29763bfa22bfbfb4030bddef7d (diff)
models view
-rw-r--r--views/models.haml2
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() {