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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Ivan Vargas Lopez <jvargas@gitlab.com>2017-03-24 01:40:36 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2017-03-24 01:40:36 +0300
commit29e5ae8cd7aef90123ae230321d5ec46e96b9fbe (patch)
tree346e5a464b0d7f0809e2e14181885858e5701bd1 /app/views/users
parent6eeba4b18214e054bbdebd66f53586fc09256130 (diff)
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.haml3
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