Branding
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
module BurdenWeb
|
||||
module ApplicationHelper
|
||||
def task_label run
|
||||
case run.success
|
||||
when true
|
||||
'success'
|
||||
when false
|
||||
'alert'
|
||||
else
|
||||
'secondary'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user