summaryrefslogtreecommitdiff
path: root/app/views/groups/_home_panel.html.haml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-30 12:09:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-30 12:09:48 +0000
commit96ee4961ce1984902f738ab651b99d2a1f01a65c (patch)
tree4add0def83c37189b44a15b203357303bba20582 /app/views/groups/_home_panel.html.haml
parent4ac9f1b8eaef29daa484b27a3113505cfa6a6dcb (diff)
downloadgitlab-ce-96ee4961ce1984902f738ab651b99d2a1f01a65c.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/groups/_home_panel.html.haml')
-rw-r--r--app/views/groups/_home_panel.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/_home_panel.html.haml b/app/views/groups/_home_panel.html.haml
index b7c2b4d86b2..a096cdb2e57 100644
--- a/app/views/groups/_home_panel.html.haml
+++ b/app/views/groups/_home_panel.html.haml
@@ -24,7 +24,7 @@
- if current_user
.gl-display-flex.gl-flex-wrap.gl-lg-justify-content-end.gl-mx-n2{ data: { testid: 'group-buttons' } }
- if current_user.admin?
- = link_to [:admin, @group], class: 'btn btn-default gl-button btn-icon gl-mt-3 gl-mr-2', title: s_('View group in admin area'),
+ = link_to [:admin, @group], class: 'btn btn-default gl-button btn-icon gl-mt-3 gl-mr-2', title: _('View group in admin area'),
data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= sprite_icon('admin')
- if @notification_setting