2021-11-11 11:23:49 +05:30
|
|
|
- add_to_breadcrumbs _('Users'), admin_users_path
|
2018-11-18 11:00:15 +05:30
|
|
|
- breadcrumb_title @user.name
|
2018-11-08 19:23:39 +05:30
|
|
|
- page_title _("Identities"), @user.name, _("Users")
|
2015-09-11 14:41:01 +05:30
|
|
|
= render 'admin/users/head'
|
|
|
|
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to _('New identity'), new_admin_user_identity_path, class: 'float-right gl-button btn btn-success'
|
2015-09-11 14:41:01 +05:30
|
|
|
- if @identities.present?
|
2015-11-26 14:37:03 +05:30
|
|
|
.table-holder
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2018-11-08 19:23:39 +05:30
|
|
|
%th= _('Provider')
|
|
|
|
%th= _('Identifier')
|
2015-11-26 14:37:03 +05:30
|
|
|
%th
|
|
|
|
= render @identities
|
2015-09-11 14:41:01 +05:30
|
|
|
- else
|
2018-11-08 19:23:39 +05:30
|
|
|
%h4= _('This user has no identities')
|
2021-09-30 23:02:18 +05:30
|
|
|
|
|
|
|
= render partial: 'admin/users/modals'
|