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: 36b3c33d8ab3624a74653057e35a5e6604be1d3a (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 has-tooltip', title: s_('UserProfile|View user in admin area'), data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } })