From fc4ac8af35b5bfacb6b3ff996cea64f3ef2956df Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 5 Jul 2016 21:30:10 +0000 Subject: Bug 775429 - Add attachment comment to splinter review --- extensions/Splinter/template/en/default/pages/splinter.html.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'extensions/Splinter/template') diff --git a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl index a6dc9114a..16d312759 100644 --- a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl +++ b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl @@ -73,6 +73,9 @@ [% FOREACH comment = bug.comments %] [% NEXT IF comment.is_private && !user.is_insider %] + [% IF comment.type == constants.CMT_ATTACHMENT_CREATED && comment.extra_data == attach_id %] + Splinter.attachmentComment = '[% comment.body FILTER html FILTER js %]'; + [% END %] [% NEXT UNLESS comment.thetext.match('(?i)^\s*review\s+of\s+attachment\s+\d+\s*:') %] var comment = new Splinter.Bug.Comment(); comment.whoName = Splinter.Utils.strip('[% comment.author.name FILTER js %]'); @@ -146,6 +149,10 @@ [% END %] [details] +

+ Comment:
+ +

-- cgit v1.2.3-24-g4f1b