Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_view_user_in_admin_area.html.haml « users « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b13f22956f60f440e6014e240b09b960d11cb56f (plain)
1
2
3
4
- if current_user && current_user.admin?
  = render Pajamas::ButtonComponent.new(href: [:admin, @user],
    icon: 'user',
    button_options: { class: 'gl-flex-grow-1 gl-mx-1 has-tooltip', title: s_('UserProfile|View user in admin area'), data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } })