2018-06-09 06:45:05 +00:00
|
|
|
- add_to_breadcrumbs "Users", admin_users_path
|
|
|
|
- breadcrumb_title @user.name
|
2018-06-16 04:53:45 +00:00
|
|
|
- page_title _("Identities"), @user.name, _("Users")
|
2015-06-22 15:12:20 +00:00
|
|
|
= render 'admin/users/head'
|
2015-06-19 10:04:34 +00:00
|
|
|
|
2018-09-18 09:58:22 +00:00
|
|
|
= link_to _('New identity'), new_admin_user_identity_path, class: 'float-right btn btn-success'
|
2015-06-19 10:04:34 +00:00
|
|
|
- if @identities.present?
|
2015-10-19 09:19:45 +00:00
|
|
|
.table-holder
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
2018-06-16 04:53:45 +00:00
|
|
|
%th= _('Provider')
|
|
|
|
%th= _('Identifier')
|
2015-10-19 09:19:45 +00:00
|
|
|
%th
|
|
|
|
= render @identities
|
2015-06-19 10:04:34 +00:00
|
|
|
- else
|
2018-06-16 04:53:45 +00:00
|
|
|
%h4= _('This user has no identities')
|