From 0dbde913dcfd8559433ef57a28e84b9e9f266f90 Mon Sep 17 00:00:00 2001 From: Joe Hillenbrand Date: Fri, 24 Aug 2012 16:04:07 -0700 Subject: [PATCH] Hide gravatar tip if gravatar is disabled. --- app/views/profile/show.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/profile/show.html.haml b/app/views/profile/show.html.haml index 95cce2bb6b6..a7b6a18ad2d 100644 --- a/app/views/profile/show.html.haml +++ b/app/views/profile/show.html.haml @@ -45,9 +45,10 @@ %span.help-block Tell us about yourself in fewer than 250 characters. .span5.right - %p.alert.alert-info - %strong Tip: - You can change your avatar at gravatar.com + -unless Gitlab.config.disable_gravatar? + %p.alert.alert-info + %strong Tip: + You can change your avatar at gravatar.com %h4 Personal projects: