提交 14722b66 编写于 作者: R Rydkin Maxim

rename pipeline_presenter

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册