BigW Consortium Gitlab

Commit 14722b66 by Rydkin Maxim

rename pipeline_presenter

parent 3a7352fd
...@@ -123,6 +123,6 @@ module CiStatusHelper ...@@ -123,6 +123,6 @@ module CiStatusHelper
end end
def status_title(pipeline) def status_title(pipeline)
Ci::PipelineStatusBadgePresenter.new(pipeline).status_title Ci::PipelinePresenter.new(pipeline).status_title
end end
end end
module Ci module Ci
class PipelineStatusBadgePresenter < Gitlab::View::Presenter::Delegated class PipelinePresenter < Gitlab::View::Presenter::Delegated
presents :pipeline presents :pipeline
def auto_canceled? def auto_canceled?
......
...@@ -84,6 +84,6 @@ class PipelineEntity < Grape::Entity ...@@ -84,6 +84,6 @@ class PipelineEntity < Grape::Entity
end end
def status_tooltip def status_tooltip
Ci::PipelineStatusBadgePresenter.new(pipeline).status_title Ci::PipelinePresenter.new(pipeline).status_title
end end
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