debian-mirror-gitlab/app/views/admin/impersonation_tokens/index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
972 B
Text
Raw Normal View History

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
2020-05-24 23:13:21 +05:30
- page_title _('Impersonation Tokens'), @user.name, _('Users')
- type = _('impersonation token')
- type_plural = _('impersonation tokens')
2017-08-17 22:00:37 +05:30
= render 'admin/users/head'
2020-07-28 23:09:34 +05:30
.row.gl-mt-3
2017-08-17 22:00:37 +05:30
.col-lg-12
2022-11-25 23:54:43 +05:30
#js-new-access-token-app{ data: { access_token_type: type } }
2018-12-05 23:21:45 +05:30
2020-05-24 23:13:21 +05:30
= render 'shared/access_tokens/form',
2022-11-25 23:54:43 +05:30
ajax: true,
2020-05-24 23:13:21 +05:30
type: type,
title: _('Add an impersonation token'),
path: admin_user_impersonation_tokens_path,
impersonation: true,
token: @impersonation_token,
2021-09-30 23:02:18 +05:30
scopes: @scopes,
2023-04-23 21:23:45 +05:30
help_path: help_page_path('api/rest/index', anchor: 'impersonation-tokens')
2017-08-17 22:00:37 +05:30
2022-11-25 23:54:43 +05:30
#js-access-token-table-app{ data: { access_token_type: type, access_token_type_plural: type_plural, initial_active_access_tokens: @active_impersonation_tokens.to_json, information: _("To see all the user's personal access tokens you must impersonate them first.") } }