summaryrefslogtreecommitdiffstats
path: root/extensions/Gravatar
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-07-19 04:44:38 +0200
committerDylan William Hardison <dylan@hardison.net>2018-07-19 04:44:38 +0200
commit08e31d692fec488ef88a18040d28ebbfc9c6b443 (patch)
tree001c92f313545b79e101d6f02924c6d4c9945f1f /extensions/Gravatar
parent535a1fd09e4b150e31165e2e79af42c2e5f2bda5 (diff)
downloadbugzilla-08e31d692fec488ef88a18040d28ebbfc9c6b443.tar.gz
bugzilla-08e31d692fec488ef88a18040d28ebbfc9c6b443.tar.xz
Bug 1136271 - Make user profile page visible to anyone for easier sharing
Diffstat (limited to 'extensions/Gravatar')
-rw-r--r--extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl
index 3788a8452..361c02d2b 100644
--- a/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl
+++ b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl
@@ -8,11 +8,7 @@
[% IF user.settings.show_gravatars.value == 'On' %]
[% IF who.last_activity_ts %]
- [% IF user.id %]
- <a href="user_profile?login=[% who.login FILTER uri %]">
- [% ELSE %]
- <a href="user_profile?user_id=[% who.id FILTER uri %]">
- [% END %]
+ <a href="user_profile?user_id=[% who.id FILTER none %]">
[% END %]
<img alt="User image" align="middle" src="[% who.gravatar FILTER none %]" width="32" height="32" border="0">
[% "</a>" IF who.last_activity_ts %]