Show never runned tasks

This commit is contained in:
Gregory Eremin
2013-06-06 22:28:14 +04:00
parent 1c26921387
commit 971ef5e530
5 changed files with 33 additions and 6 deletions
@@ -1,4 +1,14 @@
module RakeControlWeb
module ApplicationHelper
def task_label run
case run.success
when true
'success'
when false
'alert'
else
'secondary'
end
end
end
end