From ba31d11a089e92edaaee32a39ee1c0939723047a Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 30 May 2012 15:56:40 -0400 Subject: Bug 759587 - Inline "See also" ii not rendered correctly when multiple links are added at the same time --- .../template/en/default/hook/bug/comments-aftercomments.html.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'extensions') 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 %] [% ELSIF change.fieldname == 'see_also' %] - [%~%] - [%~%][% value FILTER html FILTER js %] + [% FOREACH see_also = value.split(', ') %] + [%~%] + [%~%][% see_also FILTER html FILTER js %] + [%- ", " IF NOT loop.last %] + [% END %] [% ELSIF change.fieldname == 'assigned_to' || change.fieldname == 'reporter' || change.fieldname == 'qa_contact' || -- cgit v1.2.3-24-g4f1b