Commit 0dbde913dcfd8559433ef57a28e84b9e9f266f90
1 parent
6d4ae75f
Exists in
master
and in
4 other branches
Hide gravatar tip if gravatar is disabled.
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
app/views/profile/show.html.haml
... | ... | @@ -45,9 +45,10 @@ |
45 | 45 | %span.help-block Tell us about yourself in fewer than 250 characters. |
46 | 46 | .span5.right |
47 | 47 | |
48 | - %p.alert.alert-info | |
49 | - %strong Tip: | |
50 | - You can change your avatar at gravatar.com | |
48 | + -unless Gitlab.config.disable_gravatar? | |
49 | + %p.alert.alert-info | |
50 | + %strong Tip: | |
51 | + You can change your avatar at gravatar.com | |
51 | 52 | |
52 | 53 | %h4 |
53 | 54 | Personal projects: | ... | ... |