summaryrefslogtreecommitdiffstats
path: root/extensions/InlineHistory
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-05-30 21:56:40 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-05-30 21:56:40 +0200
commitba31d11a089e92edaaee32a39ee1c0939723047a (patch)
treeebcb8a61e73de37a0002ed954e7a1649a8be3285 /extensions/InlineHistory
parent61ab486097a60756792bc031c836f0e55393295c (diff)
downloadbugzilla-ba31d11a089e92edaaee32a39ee1c0939723047a.tar.gz
bugzilla-ba31d11a089e92edaaee32a39ee1c0939723047a.tar.xz
Bug 759587 - Inline "See also" ii not rendered correctly when multiple links are added at the same time
Diffstat (limited to 'extensions/InlineHistory')
-rw-r--r--extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl7
1 files changed, 5 insertions, 2 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 384f438ce..b8a01aa75 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
@@ -135,8 +135,11 @@
UNLESS is_safe_url(value) %]>
[%~%][% value FILTER html FILTER js %]</a>
[% ELSIF change.fieldname == 'see_also' %]
- [%~%]<a href="[% value FILTER html FILTER js %]" target="_blank">
- [%~%][% value FILTER html FILTER js %]</a>
+ [% FOREACH see_also = value.split(', ') %]
+ [%~%]<a href="[% see_also FILTER html FILTER js %]" target="_blank">
+ [%~%][% see_also FILTER html FILTER js %]</a>
+ [%- ", " IF NOT loop.last %]
+ [% END %]
[% ELSIF change.fieldname == 'assigned_to' ||
change.fieldname == 'reporter' ||
change.fieldname == 'qa_contact' ||