Commit 5ed925c8 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '12250-remove-title-from-security-link-in-project-sidebar' into 'master'

Remove titles from security-links in sidebars

See merge request gitlab-org/gitlab-ee!14949
parents 7db1e962 feffa74e
- if @group.feature_available?(:security_dashboard)
= nav_link(path: 'groups/security/dashboard#show') do
= link_to group_security_dashboard_path(@group), title: _('Security'), data: { qa_selector: 'security_dashboard_link' } do
= link_to group_security_dashboard_path(@group), data: { qa_selector: 'security_dashboard_link' } do
.nav-icon-container
= sprite_icon('shield')
%span.nav-item-name
......
- if project_nav_tab?(:security)
= nav_link(path: sidebar_security_paths) do
= link_to project_security_dashboard_path(@project), title: _('Security Dashboard'), data: { qa_selector: 'link_security_dashboard' } do
= link_to project_security_dashboard_path(@project), data: { qa_selector: 'link_security_dashboard' } do
.nav-icon-container
= sprite_icon('shield')
%span.nav-item-name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment