summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
index 7e4bc29d8..b752a47fe 100644
--- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
@@ -306,10 +306,8 @@
CASE 'bug_file_loc';
%]
<a href="[% value FILTER html %]" target="_blank" rel="noreferrer"
- [% UNLESS is_safe_url(value) %]
- onclick="return confirmUnsafeURL(this.href)"
- [% END %]
- >[% value FILTER truncate(256, '&hellip;') FILTER html %]</a>
+ class="bug-url" data-safe="[% is_safe_url(value) ? 1 : 0 %]"
+ >[% value FILTER truncate(40) FILTER html %]</a>
[%
CASE 'see_also';