Commit 14722b66 by Maxim Rydkin

rename pipeline_presenter

parent 3a7352fd
......@@ -123,6 +123,6 @@ module CiStatusHelper
end
def status_title(pipeline)
Ci::PipelineStatusBadgePresenter.new(pipeline).status_title
Ci::PipelinePresenter.new(pipeline).status_title
end
end
module Ci
class PipelineStatusBadgePresenter < Gitlab::View::Presenter::Delegated
class PipelinePresenter < Gitlab::View::Presenter::Delegated
presents :pipeline
def auto_canceled?
......
......@@ -84,6 +84,6 @@ class PipelineEntity < Grape::Entity
end
def status_tooltip
Ci::PipelineStatusBadgePresenter.new(pipeline).status_title
Ci::PipelinePresenter.new(pipeline).status_title
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment