2015-09-11 14:41:01 +05:30
|
|
|
%tr
|
|
|
|
%td
|
2022-08-27 11:52:29 +05:30
|
|
|
= label_for_identity_provider(identity)
|
|
|
|
%td{ data: { testid: provider_id_cell_testid(identity) } }
|
|
|
|
= provider_id(identity)
|
|
|
|
%td{ data: { testid: saml_group_cell_testid(identity) } }
|
|
|
|
= saml_group_link(identity)
|
2015-09-11 14:41:01 +05:30
|
|
|
%td
|
|
|
|
= identity.extern_uid
|
2022-08-27 11:52:29 +05:30
|
|
|
%td{ class: 'gl-py-0!' }
|
|
|
|
- button_classes = 'has-tooltip gl-my-3'
|
|
|
|
= render Pajamas::ButtonComponent.new(category: :tertiary,
|
|
|
|
href: edit_admin_user_identity_path(@user, identity),
|
|
|
|
icon: 'pencil',
|
|
|
|
button_options: { title: _('Edit'),
|
|
|
|
'aria-label' => _('Edit'),
|
2023-03-04 22:38:38 +05:30
|
|
|
class: button_classes })
|
2022-08-27 11:52:29 +05:30
|
|
|
= render Pajamas::ButtonComponent.new(category: :tertiary,
|
|
|
|
href: url_for([:admin, @user, identity]),
|
|
|
|
icon: 'remove',
|
|
|
|
button_options: { title: _('Delete'),
|
|
|
|
'aria-label' => _('Delete identity'),
|
|
|
|
class: button_classes,
|
2023-03-04 22:38:38 +05:30
|
|
|
data: { method: :delete, confirm: _("Are you sure you want to remove this identity?") } })
|