diff options
author | Rydkin Maxim <maks.rydkin@gmail.com> | 2017-03-28 20:47:11 +0300 |
---|---|---|
committer | Rydkin Maxim <maks.rydkin@gmail.com> | 2017-04-04 21:11:25 +0300 |
commit | 14722b66a1ee0dd711a631a8d48e8761334ed4a4 (patch) | |
tree | b6683a8b39c687863b0eaecae2e7d11c2565de2e /app | |
parent | 3a7352fddc93dc2736a3bfd24008a2006c5fc4eb (diff) | |
download | gitlab-ce-14722b66a1ee0dd711a631a8d48e8761334ed4a4.tar.gz |
rename pipeline_presenter
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/ci_status_helper.rb | 2 | ||||
-rw-r--r-- | app/presenters/ci/pipeline_presenter.rb (renamed from app/presenters/ci/pipeline_status_badge_presenter.rb) | 2 | ||||
-rw-r--r-- | app/serializers/pipeline_entity.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index da4826567d4..2db95729dd9 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -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 diff --git a/app/presenters/ci/pipeline_status_badge_presenter.rb b/app/presenters/ci/pipeline_presenter.rb index ac6325dd5fa..8f9e4fa707d 100644 --- a/app/presenters/ci/pipeline_status_badge_presenter.rb +++ b/app/presenters/ci/pipeline_presenter.rb @@ -1,5 +1,5 @@ module Ci - class PipelineStatusBadgePresenter < Gitlab::View::Presenter::Delegated + class PipelinePresenter < Gitlab::View::Presenter::Delegated presents :pipeline def auto_canceled? diff --git a/app/serializers/pipeline_entity.rb b/app/serializers/pipeline_entity.rb index 82ee960f530..c6b80dc0952 100644 --- a/app/serializers/pipeline_entity.rb +++ b/app/serializers/pipeline_entity.rb @@ -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 |