Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/helpers/ci_status_helper.rb
app/helpers/ci_status_helper.rb
+1
-1
app/presenters/ci/pipeline_presenter.rb
app/presenters/ci/pipeline_presenter.rb
+1
-1
app/serializers/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