summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-04-14 07:53:42 +0200
committerByron Jones <glob@mozilla.com>2015-04-14 07:53:42 +0200
commit56e097e7f119038506daec6900d2e99ac70b488d (patch)
treeec51a067d0b387f3d0ab506115293400b525eff1 /extensions/BMO/template/en
parente5131c86c22c5577c0e27db04481084caf635dc5 (diff)
downloadbugzilla-56e097e7f119038506daec6900d2e99ac70b488d.tar.gz
bugzilla-56e097e7f119038506daec6900d2e99ac70b488d.tar.xz
Bug 1153103: add hooks for legal product disclaimer
Diffstat (limited to 'extensions/BMO/template/en')
-rw-r--r--extensions/BMO/template/en/default/bug/legal_disclaimer.html.tmpl14
-rw-r--r--extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl16
-rw-r--r--extensions/BMO/template/en/default/hook/bug_modal/edit-after_modules.html.tmpl9
-rw-r--r--extensions/BMO/template/en/default/hook/bug_modal/header-end.html.tmpl9
4 files changed, 41 insertions, 7 deletions
diff --git a/extensions/BMO/template/en/default/bug/legal_disclaimer.html.tmpl b/extensions/BMO/template/en/default/bug/legal_disclaimer.html.tmpl
new file mode 100644
index 000000000..754c0b31a
--- /dev/null
+++ b/extensions/BMO/template/en/default/bug/legal_disclaimer.html.tmpl
@@ -0,0 +1,14 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% RETURN UNLESS bug.product == "Legal" %]
+
+<div id="legal_disclaimer">
+ The material and information contained herein is Confidential and subject to
+ Attorney-Client Privilege and Work Product Doctrine.
+</div>
diff --git a/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl b/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl
index 2ae367456..135e1cd95 100644
--- a/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/comments-comment_banner.html.tmpl
@@ -1,10 +1,12 @@
-[%# *** Disclaimer for Legal bugs *** %]
-[% IF bug.product == "Legal" %]
- <div id="legal_disclaimer">
- The material and information contained herein is Confidential and
- subject to Attorney-Client Privilege and Work Product Doctrine.
- </div>
-[% END %]
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% INCLUDE bug/legal_disclaimer.html.tmpl %]
[%# Needed for collapsing TinderboxPushlog comments %]
[% has_tbpl_comment = 0 %]
diff --git a/extensions/BMO/template/en/default/hook/bug_modal/edit-after_modules.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/edit-after_modules.html.tmpl
new file mode 100644
index 000000000..0723eba01
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/bug_modal/edit-after_modules.html.tmpl
@@ -0,0 +1,9 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% INCLUDE bug/legal_disclaimer.html.tmpl %]
diff --git a/extensions/BMO/template/en/default/hook/bug_modal/header-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug_modal/header-end.html.tmpl
new file mode 100644
index 000000000..bc8fa3c0d
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/bug_modal/header-end.html.tmpl
@@ -0,0 +1,9 @@
+[%# This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ # This Source Code Form is "Incompatible With Secondary Licenses", as
+ # defined by the Mozilla Public License, v. 2.0.
+ #%]
+
+[% style_urls.push("extensions/BMO/web/styles/bug_modal.css") %]