Sha256: eb40570a07a125716f0f88042ed6f11f448bf4cb87ad0c768d2faa058ad7f5e0
Contents?: true
Size: 867 Bytes
Versions: 2
Compression:
Stored size: 867 Bytes
Contents
module StatusTag module MtmProfilePresenters class MeasurementStatusPresenter < Presenter ORDERED_CHOICES = [ StatusTag::Choice.new(name: "bad?", klass: "label-default-warning", text: "B Bad Measure"), StatusTag::Choice.new(name: "good?", klass: "label-default-success", text: "B Good Measure"), StatusTag::Choice.new(name: "waiting_approval?", klass: "label-default-important", text: "B Pending Measure"), StatusTag::Choice.new(name: "on_hold?", klass: "label-default-warning", text: "B On Hold"), StatusTag::Choice.new(name: "not_measured?", klass: "label-default-important", text: "B Not Measured"), StatusTag::Choice.new(name: nil, klass: "label-default-warning", text: "B Measure Unknown"), ] CSS_CLASS = [ "label", "label-default" ] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
status_tag-0.1.1 | mtm_profile/blazer_presenters/measurement_status_presenter.rb |
status_tag-0.1.0 | mtm_profile/blazer_presenters/measurement_status_presenter.rb |