Commit eb65cbe0 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'consistent-tooltip-user-profile' into 'master'

Show bottom tooltip for edit button in user profile

See merge request gitlab-org/gitlab!53459
parents 11c6cdd0 bca3b0c9
......@@ -14,7 +14,8 @@
.cover-block.user-cover-block{ class: [('border-bottom' if profile_tabs.empty?)] }
= render layout: 'users/cover_controls' do
- if @user == current_user
= link_to profile_path, class: link_classes + 'btn gl-button btn-default btn-icon has-tooltip', title: s_('UserProfile|Edit profile'), 'aria-label': 'Edit profile' do
= link_to profile_path, class: link_classes + 'btn gl-button btn-default btn-icon has-tooltip',
title: s_('UserProfile|Edit profile'), 'aria-label': 'Edit profile', data: { toggle: 'tooltip', placement: 'bottom', container: 'body' } do
= sprite_icon('pencil')
- elsif current_user
- if @user.abuse_report
......
---
title: Show bottom tooltip for edit button in user profile
merge_request: 53459
author: Yogi (@yo)
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment