summaryrefslogtreecommitdiffstats
path: root/extensions/InlineHistory/template/en/default/hook/bug
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-12-22 09:36:04 +0100
committerByron Jones <glob@mozilla.com>2014-12-22 09:36:04 +0100
commita670bb1a0c33f108f1e4211c95c3c6f80c09eecd (patch)
tree30eb6f71eb4b9616319e38e4b45cab29b7f2835c /extensions/InlineHistory/template/en/default/hook/bug
parent4ccf1f41b4d167de56e4dca2cad0db8bf16dcf56 (diff)
downloadbugzilla-a670bb1a0c33f108f1e4211c95c3c6f80c09eecd.tar.gz
bugzilla-a670bb1a0c33f108f1e4211c95c3c6f80c09eecd.tar.xz
Bug 860297: "see also" links shown by inline history which link to the current bugzilla installation should show tooltips
Diffstat (limited to 'extensions/InlineHistory/template/en/default/hook/bug')
-rw-r--r--extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl10
1 files changed, 7 insertions, 3 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 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 %]</a>
[% ELSIF change.fieldname == 'see_also' %]
- [% FOREACH see_also = value.split(', ') %]
- [%~%]<a href="[% see_also FILTER html FILTER js %]" target="_blank">
- [%~%][% see_also FILTER html FILTER js %]</a>
+ [% 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 %]
+ [%~%]<a href="[% see_also.url FILTER html FILTER js %]" target="_blank">
+ [%~%][% see_also.url FILTER html FILTER js %]</a>
+ [% END %]
[%- ", " IF NOT loop.last %]
[% END %]
[% ELSIF change.fieldname == 'assigned_to' ||