Commit c9343960 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '53816-empty-label-menu-if-not-logged-in' into 'master'

Resolve "Empty label menu if not logged in"

Closes #53816

See merge request gitlab-org/gitlab-ce!23042
parents a7a524d0 70a18ed2
......@@ -23,6 +23,7 @@
%li.inline
= link_to edit_label_path(label), class: 'btn btn-transparent label-action edit has-tooltip', title: _('Edit'), data: { placement: 'bottom' }, aria_label: _('Edit') do
= sprite_icon('pencil')
- if can?(current_user, :admin_label, label)
%li.inline
.dropdown
%button{ type: 'button', class: 'btn btn-transparent js-label-options-dropdown label-action', data: { toggle: 'dropdown' }, aria_label: _('Label actions dropdown') }
......
---
title: Removes promote to group label for anonymous user
merge_request: 23042
author: Jacopo Beschi @jacopo-beschi
type: fixed
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