summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-11-21 06:15:09 +0100
committerByron Jones <bjones@mozilla.com>2012-11-21 06:15:09 +0100
commit24a8be71c0954f8e09be2c6038f2ee6bd5556091 (patch)
tree1f669870debee02f814042704e99f9374b2e314b
parent6feee28184b9eda5a5d83423af99c35bf17864f4 (diff)
downloadbugzilla-24a8be71c0954f8e09be2c6038f2ee6bd5556091.tar.gz
bugzilla-24a8be71c0954f8e09be2c6038f2ee6bd5556091.tar.xz
Bug 812959: Add text to the enter_bug page when the Bugzilla product is selected referring to the bugzilla.mozilla.org product for site-specific issues
-rw-r--r--extensions/BMO/template/en/default/bug/create/user-message.html.tmpl17
-rw-r--r--extensions/BMO/web/images/sign_warning.pngbin0 -> 1776 bytes
-rw-r--r--skins/custom/create_bug.css17
3 files changed, 33 insertions, 1 deletions
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 ccf008a38..8e33caec5 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
@@ -35,3 +35,20 @@
most frequently reported [% terms.bugs %]</a> and <a href="https://bugzilla.mozilla.org/query.cgi">
search through descriptions</a> of previously reported [% terms.bugs %].
</p>
+
+[% IF product.name == 'Bugzilla' &&
+ (user.in_group('mozilla-corporation') || user.in_group('mozilla-foundation')) %]
+ <div id="bug_create_warning">
+ <div id="bug_create_warning_image">
+ <img src="extensions/BMO/web/images/sign_warning.png" width="32" height="32">
+ </div>
+ <div id="bug_create_warning_text">
+ <b>Mozilla employees</b><br>
+ This is not the place to request configuration, permission, or
+ account changes to this installation of [% terms.Bugzilla %] (bugzilla.mozilla.org).<br>
+ File such changes under the appropriate component in the
+ <a href="enter_bug.cgi?product=bugzilla.mozilla.org;component=Administration"><b>bugzilla.mozilla.org</b></a>
+ product.
+ </div>
+ </div>
+[% END %]
diff --git a/extensions/BMO/web/images/sign_warning.png b/extensions/BMO/web/images/sign_warning.png
new file mode 100644
index 000000000..30963f47d
--- /dev/null
+++ b/extensions/BMO/web/images/sign_warning.png
Binary files differ
diff --git a/skins/custom/create_bug.css b/skins/custom/create_bug.css
index 30f8c5d03..b1164aa75 100644
--- a/skins/custom/create_bug.css
+++ b/skins/custom/create_bug.css
@@ -13,7 +13,22 @@
}
.hidden_text {
- opacity: 0;
+ opacity: 0;
filter: alpha(opacity=0);
}
+#bug_create_warning {
+ border: 1px solid #dddddd;
+ background: #fff9db;
+ color: #666458;
+ padding: 5px;
+}
+
+#bug_create_warning_image {
+ float: left;
+ padding: 5px;
+}
+
+#bug_create_warning_text {
+ margin-left: 42px;
+}