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
b52d9c6c
Commit
b52d9c6c
authored
Jul 18, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
83809642
691d88b7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
22 deletions
+29
-22
app/views/projects/pipelines/charts.html.haml
app/views/projects/pipelines/charts.html.haml
+2
-5
app/views/projects/pipelines/charts/_overall.haml
app/views/projects/pipelines/charts/_overall.haml
+6
-15
app/views/projects/pipelines/charts/_pipeline_statistics.haml
...views/projects/pipelines/charts/_pipeline_statistics.haml
+14
-0
app/views/projects/pipelines/charts/_pipelines.haml
app/views/projects/pipelines/charts/_pipelines.haml
+1
-1
app/views/shared/projects/_project.html.haml
app/views/shared/projects/_project.html.haml
+1
-1
changelogs/unreleased/ds-charts-whitespace.yml
changelogs/unreleased/ds-charts-whitespace.yml
+5
-0
No files found.
app/views/projects/pipelines/charts.html.haml
View file @
b52d9c6c
...
...
@@ -2,12 +2,9 @@
-
page_title
_
(
'CI / CD Charts'
)
%div
{
class:
container_class
}
#charts
.ci-charts
.row
.col-md-6
=
render
'projects/pipelines/charts/overall'
.col-md-6
=
render
'projects/pipelines/charts/pipeline_times'
=
render
'projects/pipelines/charts/overall'
%hr
=
render
'projects/pipelines/charts/pipelines'
app/views/projects/pipelines/charts/_overall.haml
View file @
b52d9c6c
%h4
=
s_
(
"PipelineCharts|Overall statistics"
)
%ul
%li
=
s_
(
"PipelineCharts|Total:"
)
%strong
=
n_
(
"1 pipeline"
,
"%d pipelines"
,
@counts
[
:total
])
%
@counts
[
:total
]
%li
=
s_
(
"PipelineCharts|Successful:"
)
%strong
=
n_
(
"1 pipeline"
,
"%d pipelines"
,
@counts
[
:success
])
%
@counts
[
:success
]
%li
=
s_
(
"PipelineCharts|Failed:"
)
%strong
=
n_
(
"1 pipeline"
,
"%d pipelines"
,
@counts
[
:failed
])
%
@counts
[
:failed
]
%li
=
s_
(
"PipelineCharts|Success ratio:"
)
%strong
#{
success_ratio
(
@counts
)
}
%
%h4
.mt-4.mb-4
=
s_
(
"PipelineCharts|Overall statistics"
)
.row
.col-md-6
=
render
'projects/pipelines/charts/pipeline_statistics'
.col-md-6
=
render
'projects/pipelines/charts/pipeline_times'
app/views/projects/pipelines/charts/_pipeline_statistics.haml
0 → 100644
View file @
b52d9c6c
%ul
%li
=
s_
(
"PipelineCharts|Total:"
)
%strong
=
n_
(
"1 pipeline"
,
"%d pipelines"
,
@counts
[
:total
])
%
@counts
[
:total
]
%li
=
s_
(
"PipelineCharts|Successful:"
)
%strong
=
n_
(
"1 pipeline"
,
"%d pipelines"
,
@counts
[
:success
])
%
@counts
[
:success
]
%li
=
s_
(
"PipelineCharts|Failed:"
)
%strong
=
n_
(
"1 pipeline"
,
"%d pipelines"
,
@counts
[
:failed
])
%
@counts
[
:failed
]
%li
=
s_
(
"PipelineCharts|Success ratio:"
)
%strong
#{
success_ratio
(
@counts
)
}
%
app/views/projects/pipelines/charts/_pipelines.haml
View file @
b52d9c6c
%h4
=
_
(
"Pipelines charts"
)
%h4
.mt-4.mb-4
=
_
(
"Pipelines charts"
)
%p
%span
.legend-success
...
...
app/views/shared/projects/_project.html.haml
View file @
b52d9c6c
...
...
@@ -89,4 +89,4 @@
%span
.icon-wrapper.pipeline-status
=
render
'ci/status/icon'
,
status:
project
.
commit
.
last_pipeline
.
detailed_status
(
current_user
),
type:
'commit'
,
tooltip_placement:
'top'
,
path:
pipeline_path
.updated-note
%span
Updated
#{
updated_tooltip
}
%span
_
('
Updated
')
#{
updated_tooltip
}
changelogs/unreleased/ds-charts-whitespace.yml
0 → 100644
View file @
b52d9c6c
---
title
:
Improves section header whitespace on the CI/CD Charts page
merge_request
:
30531
author
:
type
:
fixed
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