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

16 lines
906 B
Text
Raw Normal View History

2018-11-18 11:00:15 +05:30
- add_to_breadcrumbs "Users", admin_users_path
- breadcrumb_title @user.name
2017-08-17 22:00:37 +05:30
- page_title "Impersonation Tokens", @user.name, "Users"
= render 'admin/users/head'
.row.prepend-top-default
.col-lg-12
2018-12-05 23:21:45 +05:30
- if @new_impersonation_token
= render "shared/personal_access_tokens_created_container", new_token_value: @new_impersonation_token,
container_title: 'Your New Impersonation Token',
2019-12-21 20:55:43 +05:30
clipboard_button_title: _('Copy impersonation token')
2018-12-05 23:21:45 +05:30
2017-08-17 22:00:37 +05:30
= render "shared/personal_access_tokens_form", path: admin_user_impersonation_tokens_path, impersonation: true, token: @impersonation_token, scopes: @scopes
= render "shared/personal_access_tokens_table", impersonation: true, active_tokens: @active_impersonation_tokens, inactive_tokens: @inactive_impersonation_tokens