1 2 3 4 5 6 7 8 9 10 11
module Ci class PipelinePresenter < Gitlab::View::Presenter::Delegated presents :pipeline def status_title if auto_canceled? "Pipeline is redundant and is auto-canceled by Pipeline ##{auto_canceled_by_id}" end end end end