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:
authorArtem Sidorenko <artem@posteo.de>2016-04-30 17:35:10 +0300
committerArtem Sidorenko <artem@posteo.de>2016-05-04 18:45:29 +0300
commitfb5682e7cd587e7e6c871588240fc49b325b042f (patch)
treefcf17333a4039e7e800aa07e754034edcdc12853 /app/views/profiles
parent6a8359f3d3be01af6f5b124b61af7ee1c77c17d0 (diff)
Use the new admin settings for gravatar
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml
index f59d27f7ed0..eef50d887c7 100644
--- a/app/views/profiles/show.html.haml
+++ b/app/views/profiles/show.html.haml
@@ -8,11 +8,11 @@
%p
- if @user.avatar?
You can change your avatar here
- - if Gitlab.config.gravatar.enabled
+ - if gravatar_enabled?
or remove the current avatar to revert to #{link_to Gitlab.config.gravatar.host, "http://" + Gitlab.config.gravatar.host}
- else
You can upload an avatar here
- - if Gitlab.config.gravatar.enabled
+ - if gravatar_enabled?
or change it at #{link_to Gitlab.config.gravatar.host, "http://" + Gitlab.config.gravatar.host}
.col-lg-9
.clearfix.avatar-image.append-bottom-default