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
faa8258c
Commit
faa8258c
authored
Jan 04, 2019
by
samdbeckham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds changes from @leipert review
- Adds a better way of getting the projects endpoint
parent
5cc6af9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ee/app/views/groups/security/dashboard/show.html.haml
ee/app/views/groups/security/dashboard/show.html.haml
+1
-3
No files found.
ee/app/views/groups/security/dashboard/show.html.haml
View file @
faa8258c
-
breadcrumb_title
_
(
"Security Dashboard"
)
-
page_title
_
(
"Security Dashboard"
)
-# TODO: Use a more sensible way of getting this endpoint
-
group_projects_path
=
"/api/v4/groups/
#{
@group
.
id
}
/projects"
#js-group-security-dashboard
{
data:
{
vulnerabilities_endpoint:
group_security_vulnerabilities_path
(
@group
),
vulnerabilities_summary_endpoint:
summary_group_security_vulnerabilities_path
(
@group
),
vulnerabilities_history_endpoint:
history_group_security_vulnerabilities_path
(
@group
),
projects_endpoint:
group_projects_path
,
projects_endpoint:
expose_url
(
api_v4_groups_projects_path
(
id:
@group
.
id
))
,
vulnerability_feedback_help_path:
help_page_path
(
"user/project/merge_requests/index"
,
anchor:
"interacting-with-security-reports-ultimate"
),
empty_state_svg_path:
image_path
(
'illustrations/security-dashboard-empty-state.svg'
),
dashboard_documentation:
help_page_path
(
'user/group/security_dashboard/index'
)
}
}
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