From 84a7731d1b8da6e2c03581a9910f614b689b33f3 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 26 Aug 2014 17:25:56 +0800 Subject: Bug 1058479: move the "mozilla employees" warning on bugzilla::admin next to the submit button --- .../en/default/bug/create/user-message.html.tmpl | 40 +++------------------- .../default/hook/bug/create/create-end.html.tmpl | 33 ++++++++++++++++++ 2 files changed, 38 insertions(+), 35 deletions(-) create mode 100644 extensions/BMO/template/en/default/hook/bug/create/create-end.html.tmpl (limited to 'extensions/BMO/template/en') diff --git a/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl b/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl index 8e33caec5..b548ba127 100644 --- a/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/user-message.html.tmpl @@ -1,22 +1,9 @@ - -[%# The contents of this file are subject to the Mozilla Public - # License Version 1.1 (the "License"); you may not use this file - # except in compliance with the License. You may obtain a copy of - # the License at http://www.mozilla.org/MPL/ +[%# 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/. # - # Software distributed under the License is distributed on an "AS - # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or - # implied. See the License for the specific language governing - # rights and limitations under the License. - # - # The Original Code is the Bugzilla Bug Tracking System. - # - # The Initial Developer of the Original Code is Netscape Communications - # Corporation. Portions created by Netscape are - # Copyright (C) 1998 Netscape Communications Corporation. All - # Rights Reserved. - # - # Contributor(s): Matthew Tuck + # This Source Code Form is "Incompatible With Secondary Licenses", as + # defined by the Mozilla Public License, v. 2.0. #%] [% PROCESS global/variables.none.tmpl %] @@ -35,20 +22,3 @@ most frequently reported [% terms.bugs %] and search through descriptions of previously reported [% terms.bugs %].

- -[% IF product.name == 'Bugzilla' && - (user.in_group('mozilla-corporation') || user.in_group('mozilla-foundation')) %] -
-
- -
-
- Mozilla employees
- This is not the place to request configuration, permission, or - account changes to this installation of [% terms.Bugzilla %] (bugzilla.mozilla.org).
- File such changes under the appropriate component in the - bugzilla.mozilla.org - product. -
-
-[% END %] diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-end.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-end.html.tmpl new file mode 100644 index 000000000..a152527ba --- /dev/null +++ b/extensions/BMO/template/en/default/hook/bug/create/create-end.html.tmpl @@ -0,0 +1,33 @@ +[%# 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 product.name == 'Bugzilla' && + (user.in_group('mozilla-corporation') || user.in_group('mozilla-foundation')) %] + +
+
+ +
+
+ Mozilla employees
+ This is not the place to request configuration, permission, or + account changes to this installation of [% terms.Bugzilla %] (bugzilla.mozilla.org).
+ This includes, but is not limited to: +
    +
  • New or updates to products and components
  • +
  • Changes to the values of existing fields (versions, milestones, etc)
  • +
+ Instead, please file such changes under + + + the Administration component in the bugzilla.mozilla.org + + + product. +
+
-- cgit v1.2.3-24-g4f1b