From a670bb1a0c33f108f1e4211c95c3c6f80c09eecd Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 22 Dec 2014 16:36:04 +0800 Subject: Bug 860297: "see also" links shown by inline history which link to the current bugzilla installation should show tooltips --- .../en/default/hook/bug/comments-aftercomments.html.tmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extensions/InlineHistory/template/en/default/hook') 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 3c4d4a202..d75c69f78 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 @@ -142,9 +142,13 @@ UNLESS is_safe_url(value) %]> [%~%][% value FILTER ih_short_value FILTER html FILTER js %] [% ELSIF change.fieldname == 'see_also' %] - [% FOREACH see_also = value.split(', ') %] - [%~%] - [%~%][% see_also FILTER html FILTER js %] + [% FOREACH see_also = value %] + [% IF see_also.bug_id %] + [%~%][% "$terms.bug $see_also.bug_id" FILTER bug_link(see_also.bug_id) FILTER js %] + [% ELSE %] + [%~%] + [%~%][% see_also.url FILTER html FILTER js %] + [% END %] [%- ", " IF NOT loop.last %] [% END %] [% ELSIF change.fieldname == 'assigned_to' || -- cgit v1.2.3-24-g4f1b