From d0b0d24f22f117eb6ae41a5180b8cdb7d957ac55 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 11 Dec 2015 15:31:02 -0500 Subject: #2154 disable change user for non-local users - #2153 remove require for gravatar --- templates/user/settings/profile.tmpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'templates/user/settings') diff --git a/templates/user/settings/profile.tmpl b/templates/user/settings/profile.tmpl index 37d5683671..7f46569984 100644 --- a/templates/user/settings/profile.tmpl +++ b/templates/user/settings/profile.tmpl @@ -14,7 +14,10 @@ {{.CsrfTokenHtml}}
- + + {{if not .SignedUser.IsLocal}} +

{{$.i18n.Tr "settings.password_username_disabled"}}

+ {{end}}
@@ -32,10 +35,12 @@
-
+ {{if not DisableGravatar}} +
+ {{end}}
-- cgit v1.2.3