debian-mirror-gitlab/app/views/admin/identities/_identity.html.haml

13 lines
637 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
%tr
%td
2021-01-29 00:20:46 +05:30
#{Gitlab::Auth::OAuth::Provider.label_for(identity.provider)} (#{identity.provider}) #{identity.saml_provider_id.present? ? "for #{link_to identity.saml_provider.group.path, identity.saml_provider.group} ID: #{identity.saml_provider_id}".html_safe : ""}
2015-09-11 14:41:01 +05:30
%td
= identity.extern_uid
%td
2021-01-03 14:25:43 +05:30
= link_to edit_admin_user_identity_path(@user, identity), class: 'gl-button btn btn-sm btn-grouped' do
2018-11-08 19:23:39 +05:30
= _("Edit")
2015-09-11 14:41:01 +05:30
= link_to [:admin, @user, identity], method: :delete,
2021-01-03 14:25:43 +05:30
class: 'gl-button btn btn-sm btn-danger',
2018-11-08 19:23:39 +05:30
data: { confirm: _("Are you sure you want to remove this identity?") } do
= _('Delete')