summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-13 09:38:59 +0200
committerByron Jones <glob@mozilla.com>2015-07-13 09:38:59 +0200
commit377acf2d61b8618f7b1e85f2a81c367b33d83a78 (patch)
treea25ee3b91de42d90aa8814b0972d1a78acc22851 /extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
parente8551401528989667d87b4f7df9c3f97f5535cf7 (diff)
downloadbugzilla-377acf2d61b8618f7b1e85f2a81c367b33d83a78.tar.gz
bugzilla-377acf2d61b8618f7b1e85f2a81c367b33d83a78.tar.xz
Bug 1180880: Make the "URL" field in the new UI more prominent
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';