diff options
Diffstat (limited to 'extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl')
-rw-r--r-- | extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl | 19 |
1 files changed, 19 insertions, 0 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 new file mode 100644 index 000000000..66714748b --- /dev/null +++ b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl @@ -0,0 +1,19 @@ +[%# This Source Code Form is subject to the terms of the Mozilla Public + # License, v. 2.0. If a copy of the MPL was not distributed with this + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. + #%] + +[% 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 %] + [% END %] + <img align="middle" src="[% who.gravatar FILTER none %]" width="32" height="32" border="0"> + [% "</a>" IF who.last_activity_ts %] +[% END %] |