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
14e88565
Commit
14e88565
authored
Aug 02, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor pipline info box view
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
8cd80da8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
app/views/projects/pipelines/_info.html.haml
app/views/projects/pipelines/_info.html.haml
+0
-4
app/views/projects/pipelines/show.html.haml
app/views/projects/pipelines/show.html.haml
+2
-2
No files found.
app/views/projects/pipelines/_info.html.haml
View file @
14e88565
-
commit
=
local_assigns
.
fetch
(
:commit
)
-
return
unless
commit
&
.
present?
.commit-box
%h3
.commit-title
=
markdown
(
commit
.
title
,
pipeline: :single_line
)
...
...
app/views/projects/pipelines/show.html.haml
View file @
14e88565
...
...
@@ -4,10 +4,10 @@
-
page_title
"Pipeline"
.js-pipeline-container
{
class:
container_class
,
data:
{
controller_action:
"#{controller.action_name}"
}
}
#js-pipeline-header-vue
.pipeline-header-container
=
render
"projects/pipelines/info"
,
commit:
@pipeline
.
commit
-
if
@pipeline
.
commit
.
present?
=
render
"projects/pipelines/info"
,
commit:
@pipeline
.
commit
=
render
"projects/pipelines/with_tabs"
,
pipeline:
@pipeline
...
...
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