Skip to content
Snippets Groups Projects
Unverified Commit 026251da authored by Alexander Turinske's avatar Alexander Turinske
Browse files

Remove bootstrap alert from override member button

parent 10e7586d
No related merge requests found
......@@ -14,17 +14,20 @@
Edit permissions
= sprite_icon('pencil', css_class: 'd-none d-md-inline-block')
- else
%li.alert.alert-member-ldap{ style: 'display: none;' }
%p
= user.name
is currently an LDAP user. Editing their permissions will override the settings from the LDAP group sync.
.controls
%button.btn.btn-warning.btn-loading.js-ldap-override{ type: 'button',
'aria-label' => 'Change LDAP member permissions',
data: { el_id: dom_id(member), endpoint: override_group_group_member_path(group, member) } }
.spinner.mr-1
Change permissions
%button.btn.btn-default.btn-icon.gl-button.js-ldap-permissions{ type: 'button',
%li
.gl-alert.gl-alert-warning.alert-member-ldap{ style: 'display: none; width: 100%' }
= sprite_icon('warning', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
%button.btn-default.btn-icon.gl-alert-dismiss.js-ldap-permissions{ type: 'button',
'aria-label' => 'Close permissions override',
data: { el_id: dom_id(member) } }
= sprite_icon('close', size: 16, css_class: 'gl-icon gl-text-black-normal!')
= sprite_icon('close', css_class: 'gl-icon')
.gl-alert-body
%p
= user.name
is currently an LDAP user. Editing their permissions will override the settings from the LDAP group sync.
.gl-alert-actions
%button.btn.btn-info.gl-alert-action.gl-button.btn-loading.js-ldap-override{ type: 'button',
'aria-label' => 'Change LDAP member permissions',
data: { el_id: dom_id(member), endpoint: override_group_group_member_path(group, member) } }
.spinner.mr-1
Change permissions
---
title: Remove bootstrap alert from override member button
merge_request: 47717
author:
type: other
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