diff options
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl')
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl index 08849ef17..2e7b3c87b 100644 --- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl @@ -164,7 +164,14 @@ [% BLOCK comment_body %] <pre class="comment-text [%= "bz_private" IF comment.is_private %]" id="ct-[% comment.count FILTER none %]" [% IF comment.collapsed +%] style="display:none"[% END ~%] - >[% comment.body_full FILTER quoteUrls(bug, comment) %]</pre> + >[% FILTER collapse %] + [% IF comment.is_about_attachment && comment.attachment.is_image ~%] + <a href="attachment.cgi?id=[% comment.attachment.id FILTER none %]" + title="[% comment.attachment.description FILTER html %]" + class="lightbox"><img src="extensions/BugModal/web/image.png" width="16" height="16"></a> + [% END %] + [% END %] + [%~ comment.body_full FILTER quoteUrls(bug, comment) ~%]</pre> [% END %] [% |