Sha256: 1d9f3e790a76931e3ac186ffcc36c818203a1dfa139cc18ad2988cc0e83713b4

Contents?: true

Size: 730 Bytes

Versions: 2

Compression:

Stored size: 730 Bytes

Contents

module StatusTag
  module MtmProfilePresenters
    class FitStatusPresenter < Presenter
      ORDERED_CHOICES = [
          StatusTag::Choice.new(name: "new?", klass: "label-default-important", text: "B New"),
          StatusTag::Choice.new(name: "bad_fit?", klass: "label-default-warning", text: "B Bad Fit"),
          StatusTag::Choice.new(name: "confirmed?", klass: "label-default-success", text: "B 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: "B 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/blazer_presenters/fit_status_presenter.rb
status_tag-0.1.0 mtm_profile/blazer_presenters/fit_status_presenter.rb