gitlab-org--gitlab-foss/app/views/admin/impersonation_tokens/index.html.haml
Robin Naundorf 2d5c8a59d3 Fix broken breadcrumb in admin/user
* Fix broken breadcrumb when switching tabs in admin/user

Closes #47419
2018-07-17 19:50:01 +02:00

10 lines
529 B
Text

- add_to_breadcrumbs "Users", admin_users_path
- breadcrumb_title @user.name
- page_title "Impersonation Tokens", @user.name, "Users"
= render 'admin/users/head'
.row.prepend-top-default
.col-lg-12
= 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