BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
14722b66
Commit
14722b66
authored
Mar 28, 2017
by
Rydkin Maxim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename pipeline_presenter
parent
3a7352fd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ci_status_helper.rb
app/helpers/ci_status_helper.rb
+1
-1
pipeline_presenter.rb
app/presenters/ci/pipeline_presenter.rb
+1
-1
pipeline_entity.rb
app/serializers/pipeline_entity.rb
+1
-1
No files found.
app/helpers/ci_status_helper.rb
View file @
14722b66
...
...
@@ -123,6 +123,6 @@ module CiStatusHelper
end
def
status_title
(
pipeline
)
Ci
::
Pipeline
StatusBadge
Presenter
.
new
(
pipeline
).
status_title
Ci
::
PipelinePresenter
.
new
(
pipeline
).
status_title
end
end
app/presenters/ci/pipeline_
status_badge_
presenter.rb
→
app/presenters/ci/pipeline_presenter.rb
View file @
14722b66
module
Ci
class
Pipeline
StatusBadge
Presenter
<
Gitlab
::
View
::
Presenter
::
Delegated
class
PipelinePresenter
<
Gitlab
::
View
::
Presenter
::
Delegated
presents
:pipeline
def
auto_canceled?
...
...
app/serializers/pipeline_entity.rb
View file @
14722b66
...
...
@@ -84,6 +84,6 @@ class PipelineEntity < Grape::Entity
end
def
status_tooltip
Ci
::
Pipeline
StatusBadge
Presenter
.
new
(
pipeline
).
status_title
Ci
::
PipelinePresenter
.
new
(
pipeline
).
status_title
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment