aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/shared/_jobs.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/_jobs.html.erb b/app/views/shared/_jobs.html.erb
index 620bc2a..aa2ad41 100644
--- a/app/views/shared/_jobs.html.erb
+++ b/app/views/shared/_jobs.html.erb
@@ -15,6 +15,9 @@
'warning'
elsif job_state
'info'
+ elsif job['error_count'] == 0
+ # Job hasn't run yet
+ 'info'
else
'danger'
end