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
f20a1bf7
Commit
f20a1bf7
authored
Aug 06, 2021
by
Axel García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused devopsReportDocsPath
parent
3f38ea4f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/index.js
...ascripts/analytics/devops_report/devops_adoption/index.js
+0
-2
ee/app/views/admin/dev_ops_report/_devops_tabs.html.haml
ee/app/views/admin/dev_ops_report/_devops_tabs.html.haml
+1
-1
No files found.
ee/app/assets/javascripts/analytics/devops_report/devops_adoption/index.js
View file @
f20a1bf7
...
@@ -13,7 +13,6 @@ export default () => {
...
@@ -13,7 +13,6 @@ export default () => {
emptyStateSvgPath
,
emptyStateSvgPath
,
groupId
,
groupId
,
devopsScoreMetrics
,
devopsScoreMetrics
,
devopsReportDocsPath
,
devopsScoreIntroImagePath
,
devopsScoreIntroImagePath
,
noDataImagePath
,
noDataImagePath
,
}
=
el
.
dataset
;
}
=
el
.
dataset
;
...
@@ -28,7 +27,6 @@ export default () => {
...
@@ -28,7 +27,6 @@ export default () => {
isGroup
,
isGroup
,
groupGid
:
isGroup
?
convertToGraphQLId
(
TYPE_GROUP
,
groupId
)
:
null
,
groupGid
:
isGroup
?
convertToGraphQLId
(
TYPE_GROUP
,
groupId
)
:
null
,
devopsScoreMetrics
:
isGroup
?
null
:
JSON
.
parse
(
devopsScoreMetrics
),
devopsScoreMetrics
:
isGroup
?
null
:
JSON
.
parse
(
devopsScoreMetrics
),
devopsReportDocsPath
,
noDataImagePath
,
noDataImagePath
,
devopsScoreIntroImagePath
,
devopsScoreIntroImagePath
,
},
},
...
...
ee/app/views/admin/dev_ops_report/_devops_tabs.html.haml
View file @
f20a1bf7
...
@@ -6,4 +6,4 @@
...
@@ -6,4 +6,4 @@
-
if
!
service_ping_enabled
-
if
!
service_ping_enabled
#js-devops-service-ping-disabled
{
data:
{
is_admin:
current_user
&
.
admin
.
to_s
,
empty_state_svg_path:
image_path
(
'illustrations/convdev/convdev_no_index.svg'
),
enable_service_ping_path:
metrics_and_profiling_admin_application_settings_path
(
anchor:
'js-usage-settings'
)
}
}
#js-devops-service-ping-disabled
{
data:
{
is_admin:
current_user
&
.
admin
.
to_s
,
empty_state_svg_path:
image_path
(
'illustrations/convdev/convdev_no_index.svg'
),
enable_service_ping_path:
metrics_and_profiling_admin_application_settings_path
(
anchor:
'js-usage-settings'
)
}
}
-
else
-
else
.js-devops-adoption
{
data:
{
empty_state_svg_path:
image_path
(
'illustrations/monitoring/getting_started.svg'
),
devops_score_metrics:
devops_score_metrics
(
@metric
).
to_json
,
devops_report_docs_path:
help_page_path
(
'user/admin_area/analytics/dev_ops_report'
),
no_data_image_path:
image_path
(
'dev_ops_report_no_data.svg'
),
devops_score_intro_image_path:
image_path
(
'dev_ops_report_overview.svg'
)
}
}
.js-devops-adoption
{
data:
{
empty_state_svg_path:
image_path
(
'illustrations/monitoring/getting_started.svg'
),
devops_score_metrics:
devops_score_metrics
(
@metric
).
to_json
,
no_data_image_path:
image_path
(
'dev_ops_report_no_data.svg'
),
devops_score_intro_image_path:
image_path
(
'dev_ops_report_overview.svg'
)
}
}
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