summaryrefslogtreecommitdiffstats
path: root/extensions/InlineHistory/template/en
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2011-10-18 07:17:55 +0200
committerByron Jones <bjones@mozilla.com>2011-10-18 07:17:55 +0200
commit3e42acb389a5d7a7a04cb7768ca3a0ecc2c471ed (patch)
tree64276534818552e4e0aaf891dfef9e26cd1d1d51 /extensions/InlineHistory/template/en
parent3fdcf22a0fa375c993889909a867c8a68f5101a8 (diff)
downloadbugzilla-3e42acb389a5d7a7a04cb7768ca3a0ecc2c471ed.tar.gz
bugzilla-3e42acb389a5d7a7a04cb7768ca3a0ecc2c471ed.tar.xz
Bug 694468: linkify URL changes when shown inline
Diffstat (limited to 'extensions/InlineHistory/template/en')
-rw-r--r--extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl5
1 files changed, 5 insertions, 0 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 454cb578b..d6b5b8cb2 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
@@ -83,9 +83,11 @@
[% END %]
[% ELSE %]
[% IF change.fieldname == 'longdescs.isprivate' %]
+ [%# reference the comment that was made private/public in the field label %]
html += '<a href="#c[% change.comment.count FILTER js %]">'
+ 'Comment [% change.comment.count FILTER js %]</a> is private: ';
[% ELSE %]
+ [%# normal label %]
html += '[% field_descs.${change.fieldname} FILTER js %]: ';
[% END %]
[% IF change.removed != '' %]
@@ -134,6 +136,9 @@
[% PROCESS formattimeunit time_unit = value FILTER html FILTER js %]
[% ELSIF change.buglist %]
[% value FILTER bug_list_link FILTER js %]
+ [% ELSIF change.fieldname == 'bug_file_loc' %]
+ [%~%]<a href="[% value FILTER html FILTER js %]" target="_blank">
+ [%~%][% value FILTER html FILTER js %]</a>
[% ELSIF change.fieldname == 'assigned_to' ||
change.fieldname == 'reporter' ||
change.fieldname == 'qa_contact' ||