summaryrefslogtreecommitdiffstats
path: root/extensions/InlineHistory/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-08-14 08:59:17 +0200
committerByron Jones <bjones@mozilla.com>2013-08-14 08:59:17 +0200
commit99719077aeeac9b6a449b657893e4ee29511132c (patch)
treef714060a120614d8673649d755e66642eb6f3c0a /extensions/InlineHistory/template/en
parent14102c9968496f9341994ea92b24c9490331a2d2 (diff)
downloadbugzilla-99719077aeeac9b6a449b657893e4ee29511132c.tar.gz
bugzilla-99719077aeeac9b6a449b657893e4ee29511132c.tar.xz
Bug 903955: add gravatar support
Diffstat (limited to 'extensions/InlineHistory/template/en')
-rw-r--r--extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl
index 1c47fd21c..6debea594 100644
--- a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl
+++ b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl
@@ -102,12 +102,17 @@
[% END %]
[% END %]
+ var user_image = '
+ [%~ who = operation.who %]
+ [% Hook.process('user-image', 'bug/comments.html.tmpl') FILTER js %]';
+
var item = new Array(7);
item[0] = '[% changer_login FILTER js %]';
item[1] = '[% change_date FILTER js %]';
item[2] = html;
item[3] = '<div class="bz_comment_head">'
+ '<span class="bz_comment_user">'
+ + user_image
+ '[% user_cache.$changer_id FILTER js %]'
+ '</span>'
+ '<span class="bz_comment_time"> ' + item[1] + ' </span>'