Sha256: 97e5a93685765735ba58cd6b1ff638f6221b5d46c7d07f0ec265f66287185b50
Contents?: true
Size: 591 Bytes
Versions: 6
Compression:
Stored size: 591 Bytes
Contents
module MissionControl::Jobs::InterfaceHelper def blank_status_notice(message) tag.div message, class: "mt-6 has-text-centered is-size-3 has-text-grey" end def blank_status_emoji(status) case status.to_s when "failed", "blocked" then "😌" else "" end end def modifier_for_status(status) case status.to_s when "failed" then "is-danger" when "blocked" then "is-warning" when "finished" then "is-success" when "scheduled" then "is-info" when "in_progress" then "is-primary" else "is-primary is-light" end end end
Version data entries
6 entries across 6 versions & 1 rubygems