diff options
author | Byron Jones <bjones@mozilla.com> | 2013-08-14 08:59:17 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-08-14 08:59:17 +0200 |
commit | 99719077aeeac9b6a449b657893e4ee29511132c (patch) | |
tree | f714060a120614d8673649d755e66642eb6f3c0a /extensions/Gravatar/template/en/default/hook/bug | |
parent | 14102c9968496f9341994ea92b24c9490331a2d2 (diff) | |
download | bugzilla-99719077aeeac9b6a449b657893e4ee29511132c.tar.gz bugzilla-99719077aeeac9b6a449b657893e4ee29511132c.tar.xz |
Bug 903955: add gravatar support
Diffstat (limited to 'extensions/Gravatar/template/en/default/hook/bug')
-rw-r--r-- | extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl | 11 | ||||
-rw-r--r-- | extensions/Gravatar/template/en/default/hook/bug/show-header-end.html.tmpl | 11 |
2 files changed, 22 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..14adfd055 --- /dev/null +++ b/extensions/Gravatar/template/en/default/hook/bug/comments-user-image.html.tmpl @@ -0,0 +1,11 @@ +[%# 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' %] + <img align="middle" src="[% who.gravatar FILTER none %]" width="32" height="32"> +[% END %] diff --git a/extensions/Gravatar/template/en/default/hook/bug/show-header-end.html.tmpl b/extensions/Gravatar/template/en/default/hook/bug/show-header-end.html.tmpl new file mode 100644 index 000000000..0f1130976 --- /dev/null +++ b/extensions/Gravatar/template/en/default/hook/bug/show-header-end.html.tmpl @@ -0,0 +1,11 @@ +[%# 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' %] + [% bodyclasses.push('bz_gravatar') %] +[% END %] |