summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hillenbrand <jhillenbrand@wetpaint.com>2012-08-24 16:04:07 -0700
committerJoe Hillenbrand <jhillenbrand@wetpaint.com>2012-08-24 16:04:07 -0700
commit0dbde913dcfd8559433ef57a28e84b9e9f266f90 (patch)
tree6f678a72e3052a00e3658f97c91f5a93d1f400af
parent6d4ae75f544d9819954865c105414a722344336a (diff)
downloadgitlab-ce-0dbde913dcfd8559433ef57a28e84b9e9f266f90.tar.gz
Hide gravatar tip if gravatar is disabled.
-rw-r--r--app/views/profile/show.html.haml7
1 files 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: