From 5e1c968d4fbbe5e39432978de601f197a7a539bd Mon Sep 17 00:00:00 2001 From: Simon Bennetts Date: Wed, 28 Feb 2018 03:05:24 +0000 Subject: Bug 1441475 - Added rel tags to links with target=_blank --- .../BMO/template/en/default/hook/attachment/list-warnings.html.tmpl | 2 +- extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl | 2 +- .../template/en/default/hook/bug_modal/attachments-warnings.html.tmpl | 2 +- .../hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions/BMO/template/en/default/hook') diff --git a/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl index 693051996..811e373cb 100644 --- a/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl +++ b/extensions/BMO/template/en/default/hook/attachment/list-warnings.html.tmpl @@ -24,7 +24,7 @@ - + sec-approval required on patches before landing diff --git a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl index 87b51c924..02d7d8ebf 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl @@ -31,7 +31,7 @@ [% IF sig.match('^\[\@\s*') && sig.match('\s*\]$') %] [% sig = sig.replace('(^\[\@\s*|\s*\]$)', '') %] [@ [% sig FILTER html %] ]
+ target="_blank" rel="noopener noreferrer">[@ [% sig FILTER html %] ]
[% ELSE %] [% sig FILTER html %]
[% END %] diff --git a/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl index 5242f47b4..8e94229ff 100644 --- a/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug_modal/attachments-warnings.html.tmpl @@ -21,7 +21,7 @@ [% IF bug.missing_sec_approval %]
- + sec-approval required on patches before landing
diff --git a/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl index 4726b69ab..016dbd902 100644 --- a/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug_modal/edit-custom_field-cf_crash_signature.html.tmpl @@ -18,7 +18,7 @@
[% IF sig.match('^\[\@\s*') && sig.match('\s*\]$') %] [% sig = sig.replace('(^\[\@\s*|\s*\]$)', '') %] - + [@ [% sig FILTER html %] ] [% ELSE %] -- cgit v1.2.3-24-g4f1b