BigW Consortium Gitlab

pipeline_presenter.rb 259 Bytes
Newer Older
1
module Ci
2
  class PipelinePresenter < Gitlab::View::Presenter::Delegated
3 4 5
    presents :pipeline

    def status_title
6 7 8
      if auto_canceled?
        "Pipeline is redundant and is auto-canceled by Pipeline ##{auto_canceled_by_id}"
      end
9 10 11
    end
  end
end