diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-26 05:47:18 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-26 05:47:18 +0100 |
commit | ab840dce2f988fdd7bca6a346f934bf7376bda75 (patch) | |
tree | 31d75a78561939ba2f43b68a44154b2b5e630b92 | |
parent | a41ac004cbee6f6d0735070bf6bdcd55cbb7a2cf (diff) | |
download | bugzilla-ab840dce2f988fdd7bca6a346f934bf7376bda75.tar.gz bugzilla-ab840dce2f988fdd7bca6a346f934bf7376bda75.tar.xz |
Bug 1146762: honour gravatar visibility preference
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/user.html.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl index 016017084..718eb5e79 100644 --- a/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/user.html.tmpl @@ -17,6 +17,9 @@ [% RETURN UNLESS u.id; DEFAULT gravatar_size = 0; +IF user.settings.show_gravatars.value != 'On'; + gravatar_size = 0; +END; %] <div class="vcard vcard_[% u.id FILTER none %]"> [% FILTER collapse %] |