Sha256: 19c7a2e2395880eda9bda0594149dbbd1094fae0c801aecdc323659caa3f662c
Contents?: true
Size: 722 Bytes
Versions: 2
Compression:
Stored size: 722 Bytes
Contents
module StatusTag module MtmProfilePresenters class FitStatusPresenter < Presenter ORDERED_CHOICES = [ StatusTag::Choice.new(name: "new?", klass: "label-default-important", text: "New"), StatusTag::Choice.new(name: "bad_fit?", klass: "label-default-warning", text: "Bad Fit"), StatusTag::Choice.new(name: "confirmed?", klass: "label-default-success", text: "Fit Confirmed"), StatusTag::Choice.new(name: "pending?", noop: true), # TODO: Why do we not want pending to display? StatusTag::Choice.new(name: nil, klass: "label-default-warning", text: "Fit 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_presenters/fit_status_presenter.rb |
status_tag-0.1.0 | mtm_profile_presenters/fit_status_presenter.rb |