rosa-build/app/admin/shared/build_script.rb

3 lines
66 B
Ruby

def build_script_status_color(bs)
bs.active? ? :green : :red
end