diff options
author | Jose Ivan Vargas Lopez <jvargas@gitlab.com> | 2017-03-23 22:40:36 +0000 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-03-23 22:40:36 +0000 |
commit | 29e5ae8cd7aef90123ae230321d5ec46e96b9fbe (patch) | |
tree | 346e5a464b0d7f0809e2e14181885858e5701bd1 /app/views/users | |
parent | 6eeba4b18214e054bbdebd66f53586fc09256130 (diff) | |
download | gitlab-ce-29e5ae8cd7aef90123ae230321d5ec46e96b9fbe.tar.gz |
Fix usercallout to only show on the current logged in user profile
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 270886733cb..57125f36ed6 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -97,7 +97,8 @@ Snippets %div{ class: container_class } - .user-callout{ 'callout-svg' => custom_icon('icon_customization') } + - if @user == current_user + .user-callout{ 'callout-svg' => custom_icon('icon_customization') } .tab-content #activity.tab-pane .row-content-block.calender-block.white.second-block.hidden-xs |