summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.htaccess1
-rw-r--r--extensions/BMO/lib/Data.pm5
-rw-r--r--extensions/BMO/template/en/default/bug/create/comment-recruiting.txt.tmpl42
-rw-r--r--extensions/BMO/template/en/default/bug/create/cost-centers.html.tmpl94
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl234
-rw-r--r--extensions/BMO/template/en/default/bug/create/created-recruiting.html.tmpl28
6 files changed, 404 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 9a5f71f31..a8a3d8331 100644
--- a/.htaccess
+++ b/.htaccess
@@ -48,6 +48,7 @@ RewriteRule ^favicon\.ico$ extensions/BMO/web/images/favicon.ico
RewriteRule ^form[\.:]itrequest$ enter_bug.cgi?product=Infrastructure+\%26+Operations&format=itrequest
RewriteRule ^form[\.:](mozlist|poweredby|presentation|trademark|recoverykey)$ enter_bug.cgi?product=mozilla.org&format=$1
RewriteRule ^form[\.:]legal$ enter_bug.cgi?product=Legal&format=legal
+RewriteRule ^form[\.:]recruiting$ enter_bug.cgi?product=Recruiting&format=recruiting
RewriteRule ^form[\.:]mozpr$ enter_bug.cgi?product=Mozilla+PR&format=mozpr
RewriteRule ^form[\.:]reps[\.:]mentorship$ enter_bug.cgi?product=Mozilla+Reps&format=mozreps
RewriteRule ^form[\.:]reps[\.:]budget$ enter_bug.cgi?product=Mozilla+Reps&format=remo-budget
diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm
index 7db6f72f7..bc205de19 100644
--- a/extensions/BMO/lib/Data.pm
+++ b/extensions/BMO/lib/Data.pm
@@ -173,6 +173,7 @@ our %product_sec_groups = (
"Internet Public Policy" => 'mozilla-employee-confidential',
"L20n" => 'l20n-security',
"Legal" => 'legal',
+ "Recruiting" => 'hr',
"Marketing" => 'marketing-private',
"Marketplace" => 'client-services-security',
"Mozilla Communities" => 'mozilla-communities-security',
@@ -228,6 +229,10 @@ our %create_bug_formats = (
'format' => 'legal',
'include' => 'everyone',
},
+ 'Recruiting' => {
+ 'format' => 'recruiting',
+ 'include' => 'everyone',
+ },
'Internet Public Policy' => {
'format' => 'ipp',
'include' => 'everyone',
diff --git a/extensions/BMO/template/en/default/bug/create/comment-recruiting.txt.tmpl b/extensions/BMO/template/en/default/bug/create/comment-recruiting.txt.tmpl
new file mode 100644
index 000000000..e2c0e02fb
--- /dev/null
+++ b/extensions/BMO/template/en/default/bug/create/comment-recruiting.txt.tmpl
@@ -0,0 +1,42 @@
+[%# 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/
+ #
+ # 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 BMO Bugzilla Extension.
+ #
+ # The Initial Developer of the Original Code is the Mozilla Foundation
+ # Portions created by the Initial Developers are Copyright (C) 2011 the
+ # Initial Developer. All Rights Reserved.
+ #
+ # Contributor(s):
+ # David Lawrence <dkl@mozilla.com>
+ #%]
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
+Cost Center:
+[%+ cgi.param('cost_center') %]
+
+Hiring Manager:
+[%+ cgi.param('hiring_manager_name') %]
+
+VP Authority:
+[%+ cgi.param('vp_authority') %]
+
+HRBP:
+[%+ cgi.param('hrbp_name') %]
+
+Full Time or Seasonal?
+[%+ cgi.param('ft_or_seasonal') %]
+
+Desired Location:
+[%+ cgi.param("desired_location") %]
+
+Comp Grade:
+[%+ cgi.param("comp_grade") %]
diff --git a/extensions/BMO/template/en/default/bug/create/cost-centers.html.tmpl b/extensions/BMO/template/en/default/bug/create/cost-centers.html.tmpl
new file mode 100644
index 000000000..8e56a20ed
--- /dev/null
+++ b/extensions/BMO/template/en/default/bug/create/cost-centers.html.tmpl
@@ -0,0 +1,94 @@
+<option value="1000 - Office of CEO">1000 - Office of CEO</option>
+<option value="1001 - Office of Chair">1001 - Office of Chair</option>
+<option value="1002 - Participation">1002 - Participation</option>
+<option value="1010 - Office of CTO">1010 - Office of CTO</option>
+<option value="1011 - Research">1011 - Research</option>
+<option value="1012 - Tech Evangelism">1012 - Tech Evangelism</option>
+<option value="1013 - Advanced Technology Lab">1013 - Advanced Technology Lab</option>
+<option value="1014 - Technology Strategy">1014 - Technology Strategy</option>
+<option value="1020 - Chief of Staff">1020 - Chief of Staff</option>
+<option value="1100 - Policy">1100 - Policy</option>
+<option value="1120 - Legal">1120 - Legal</option>
+<option value="1150 - Business Development">1150 - Business Development</option>
+<option value="1210 - Finance & Accounting">1210 - Finance & Accounting</option>
+<option value="1211 - Accounting">1211 - Accounting</option>
+<option value="1212 - Finance">1212 - Finance</option>
+<option value="1213 - Payroll">1213 - Payroll</option>
+<option value="1250 - Facilities">1250 - Facilities</option>
+<option value="1320 - People Operations">1320 - People Operations</option>
+<option value="1340 - People">1340 - People</option>
+<option value="1350 - Recruiting">1350 - Recruiting</option>
+<option value="1360 - Metrics">1360 - Metrics</option>
+<option value="1400 - IT & Network">1400 - IT & Network</option>
+<option value="1500 - Content Services">1500 - Content Services</option>
+<option value="1700 - Strategic Initiative">1700 - Strategic Initiative</option>
+<option value="2000 - Engagement">2000 - Engagement</option>
+<option value="2200 - PR">2200 - PR</option>
+<option value="2300 - Community Engagement">2300 - Community Engagement</option>
+<option value="2320 - MDN">2320 - MDN</option>
+<option value="2400 - Brand Engagement">2400 - Brand Engagement</option>
+<option value="2500 - Websites">2500 - Websites</option>
+<option value="2600 - SUMO">2600 - SUMO</option>
+<option value="3000 - Cloud Services">3000 - Cloud Services</option>
+<option value="3100 - Infrastructure (servers)">3100 - Infrastructure (servers)</option>
+<option value="3110 - Production Cloud Infra">3110 - Production Cloud Infra</option>
+<option value="3120 - Development Cloud Infra">3120 - Development Cloud Infra</option>
+<option value="3130 - Production DC Infra">3130 - Production DC Infra</option>
+<option value="3210 - FxA Engineering">3210 - FxA Engineering</option>
+<option value="3220 - Cloud Services Operation">3220 - Cloud Services Operation</option>
+<option value="3230 - Cloud Services UX">3230 - Cloud Services UX</option>
+<option value="3240 - Cloud Services Product & Project Management">3240 - Cloud Services Product & Project Management</option>
+<option value="4000 - Insights and Strategy">4000 - Insights and Strategy</option>
+<option value="5000 - Firefox">5000 - Firefox</option>
+<option value="5100 - Firefox Product Marketing">5100 - Firefox Product Marketing</option>
+<option value="5200 - Firefox Desktop">5200 - Firefox Desktop</option>
+<option value="5210 - Firefox Desktop Engineering">5210 - Firefox Desktop Engineering</option>
+<option value="5220 - Firefox Desktop UX">5220 - Firefox Desktop UX</option>
+<option value="5230 - Firefox Desktop Product Management">5230 - Firefox Desktop Product Management</option>
+<option value="5240 - Firefox Desktop Platform Integration">5240 - Firefox Desktop Platform Integration</option>
+<option value="5250 - Firefox Hello">5250 - Firefox Hello</option>
+<option value="5300 - Firefox Mobile">5300 - Firefox Mobile</option>
+<option value="5310 - Firefox Android Engineering">5310 - Firefox Android Engineering</option>
+<option value="5320 - Firefox Android UX">5320 - Firefox Android UX</option>
+<option value="5330 - Firefox Android Product Management">5330 - Firefox Android Product Management</option>
+<option value="5400 - Firefox Dev Tools">5400 - Firefox Dev Tools</option>
+<option value="5500 - Firefox iOS">5500 - Firefox iOS</option>
+<option value="6000 - Mobile">6000 - Mobile</option>
+<option value="6110 - Firefox OS Engineering">6110 - Firefox OS Engineering</option>
+<option value="6140 - Firefox OS Automation">6140 - Firefox OS Automation</option>
+<option value="6150 - Firefox OS Engineering Program Management">6150 - Firefox OS Engineering Program Management</option>
+<option value="6160 - Firefox OS QA">6160 - Firefox OS QA</option>
+<option value="6200 - Firefox OS Product Management">6200 - Firefox OS Product Management</option>
+<option value="6220 - Firefox OS Product Marketing">6220 - Firefox OS Product Marketing</option>
+<option value="6300 - Firefox OS UX">6300 - Firefox OS UX</option>
+<option value="6500 - Mobile Business Development">6500 - Mobile Business Development</option>
+<option value="7000 - Mobile Planning & Ecosystem">7000 - Mobile Planning & Ecosystem</option>
+<option value="7110 - Mobile Partner Engineering">7110 - Mobile Partner Engineering</option>
+<option value="7120 - Mobile Planning">7120 - Mobile Planning</option>
+<option value="7130 - Mobile Apps Engineering">7130 - Mobile Apps Engineering</option>
+<option value="7150 - Mobile Partners Contents">7150 - Mobile Partners Contents</option>
+<option value="7200 - Mobile Ecosystem Program Manangement">7200 - Mobile Ecosystem Program Manangement</option>
+<option value="7220 - Mobile Partner Products">7220 - Mobile Partner Products</option>
+<option value="7500 - Add Ons">7500 - Add Ons</option>
+<option value="8000 - Engineering Platform">8000 - Engineering Platform</option>
+<option value="8100 - Release Engineering">8100 - Release Engineering</option>
+<option value="8200 - Web Engineering">8200 - Web Engineering</option>
+<option value="8300 - Engineering Program Management">8300 - Engineering Program Management</option>
+<option value="8400 - Platform PKI">8400 - Platform PKI</option>
+<option value="8410 - Platform Network">8410 - Platform Network</option>
+<option value="8420 - Platform Security">8420 - Platform Security</option>
+<option value="8430 - Platform Fuzzing">8430 - Platform Fuzzing</option>
+<option value="8440 - Platform DOM">8440 - Platform DOM</option>
+<option value="8450 - Platform Rendering, Media & Graphics">8450 - Platform Rendering, Media & Graphics</option>
+<option value="8460 - Platform Android">8460 - Platform Android</option>
+<option value="8470 - Platform WebRTC">8470 - Platform WebRTC</option>
+<option value="8480 - Platform Integration">8480 - Platform Integration</option>
+<option value="8490 - Platform Accessibility">8490 - Platform Accessibility</option>
+<option value="8500 - QA">8500 - QA</option>
+<option value="8510 - Platform QE">8510 - Platform QE</option>
+<option value="8520 - QA Automation">8520 - QA Automation</option>
+<option value="8530 - QA Web">8530 - QA Web</option>
+<option value="8550 - QA Android">8550 - QA Android</option>
+<option value="8600 - Development Tools & Automation">8600 - Development Tools & Automation</option>
+<option value="8700 - JavaScript">8700 - JavaScript</option>
+<option value="8750 - Localization (l10n)">8750 - Localization (l10n)</option>
diff --git a/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl
new file mode 100644
index 000000000..6ea609743
--- /dev/null
+++ b/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl
@@ -0,0 +1,234 @@
+[%# 1.0@bugzilla.org %]
+[%# 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/
+ #
+ # 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 Mozilla Corporation.
+ # Portions created by Mozilla are Copyright (C) 2008 Mozilla
+ # Corporation. All Rights Reserved.
+ #
+ # Contributor(s): Mark Smith <mark@mozilla.com>
+ # Reed Loden <reed@mozilla.com>
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% inline_style = BLOCK %]
+#heading {
+ text-align: center;
+ width: 98%;
+ font-size: 2em;
+ font-weight: bold;
+ margin: 10px;
+}
+p {
+ max-width: 40%;
+}
+label.required:after {
+ content: " *";
+ color: red;
+}
+.required_star {
+ color: red;
+}
+[% END %]
+
+[% PROCESS global/header.html.tmpl
+ title = "Mozilla Corporation HR and Recruiting Requests"
+ style_urls = [ 'skins/standard/attachment.css' ]
+ javascript_urls = [ 'js/attachment.js', 'js/field.js' ]
+ style = inline_style
+ yui = [ 'autocomplete' ]
+%]
+
+[% IF user.in_group("mozilla-employee-confidential")
+ OR user.in_group("mozilla-messaging-confidential")
+ OR user.in_group("mozilla-foundation-confidential") %]
+ <div id="heading">Recruiting</div>
+
+ <p>
+ Recruiting [% terms.Bugs %] are visible only to the Reporter, members of the People
+ Team, and those on the CC list. Please do not add non-employees to the CC list.
+ This form is to request a new open requisition only, and is not for
+ communication about existing open requisitions in Jobvite.
+ </p>
+
+ <p>
+ <strong>Do not put information about backfills or replacements directly into
+ this [% terms.bug %].</strong>
+ </p>
+
+ <form method="post" action="post_bug.cgi" id="recruitingForm" enctype="multipart/form-data">
+ <input type="hidden" name="product" value="Recruiting">
+ <input type="hidden" name="component" value="General">
+ <input type="hidden" name="rep_platform" value="All">
+ <input type="hidden" name="op_sys" value="Other">
+ <input type="hidden" name="version" value="unspecified">
+ <input type="hidden" name="priority" value="--">
+ <input type="hidden" name="bug_severity" value="normal">
+ <input type="hidden" name="format" value="recruiting">
+ <input type="hidden" name="created-format" value="recruiting">
+ <input type="hidden" name="token" value="[% token FILTER html %]">
+ [% IF user.in_group('canconfirm') %]
+ <input type="hidden" name="bug_status" value="NEW">
+ [% END %]
+
+ <table>
+ <tr>
+ <th align="right" valign="top">
+ <label class="required" for="short_desc">Position Title:</label>
+ </th>
+ <td>
+ <input required name="short_desc" id="short_desc" size="60" value="[% short_desc FILTER html %]">
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">
+ <label class="required" for="cost_center">Cost Center:</label>
+ </th>
+ <td>
+ <select required id="cost_center" name="cost_center">
+ <option value="">Select..</option>
+ [% INCLUDE "bug/create/cost-centers.html.tmpl" %]
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right" valign="top">
+ <label class="required" for="hiring_manager_name">Hiring Manager Name:</label>
+ </th>
+ <td>
+ <input required name="hiring_manager_name" id="hiring_manager_name" size="60" value="[% hiring_manager_name FILTER html %]">
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">
+ <label class="required" for="vp_authority">VP Authority</label>
+ </th>
+ <td>
+ <select required id="vp_authority" name="vp_authority">
+ <option value="">Select..</option>
+ <option value="Andreas Gal">Andreas Gal</option>
+ <option value="Chris Beard">Chris Beard</option>
+ <option value="Darren Herman">Darren Herman</option>
+ <option value="David Slater">David Slater</option>
+ <option value="Denelle Dixon Thayer">Denelle Dixon Thayer</option>
+ <option value="Douglas Turner / Johnny Stenbäck">Douglas Turner / Johnny Stenbäck</option>
+ <option value="Jim Cook">Jim Cook</option>
+ <option value="Johnath Nightingale">Johnath Nightingale</option>
+ <option value="Li Gong">Li Gong</option>
+ <option value="Mark Mayo">Mark Mayo</option>
+ <option value="Mary Ellen Muckerman">Mary Ellen Muckerman</option>
+ <option value="Pete Scanlon">Pete Scanlon</option>
+ <option value="Rick Fant">Rick Fant</option>
+ <option value="Sylvie Veilleux">Sylvie Veilleux</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">
+ <label class="required" for="hrbp_name">HRBP Name</label>
+ </th>
+ <td>
+ <select required id="hrbp_name" name="hrbp_name">
+ <option value="">Select...</option>
+ <option value="Joanne Nguyen">Joanne Nguyen</option>
+ <option value="Jess Amann">Jess Amann</option>
+ <option value="Michael Auckland">Michael Auckland</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">
+ <label class="required" for="ft_or_seasonal">Full time or Seasonal?</label>
+ </th>
+ <td>
+ <select required id="ft_or_seasonal" name="ft_or_seasonal">
+ <option value="">Select...</option>
+ <option value="Full Time">Full Time</option>
+ <option value="Seasonal">Seasonal</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">
+ <label class="required" for="desired_location">Desired Location</label>
+ </th>
+ <td>
+ <select required id="desired_location" name="desired_location">
+ <option value="">Select...</option>
+ <option value="any">Any Location</option>
+ <option value="remote">Remote</option>
+ <option value="europe">Europe</option>
+ <option value="latinamerica">Latin America</option>
+ <option value="northamerica">North America</option>
+ <option value="bayarea">Bay Area</option>
+ <option value="berlin">Berlin</option>
+ <option value="boston">Boston</option>
+ <option value="london">London</option>
+ <option value="mountainview">Mountain View</option>
+ <option value="newzealand">New Zealand</option>
+ <option value="paris">Paris</option>
+ <option value="portland">Portland</option>
+ <option value="sanfrancisco">San Francisco</option>
+ <option value="toronto">Toronto</option>
+ <option value="vancouver">Vancouver</option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right" valign="top">
+ <label class="required" for="comp_grade">Comp Grade:</label>
+ </th>
+ <td>
+ <input required name="comp_grade" id="comp_grade" size="60" value="[% comp_grade FILTER html %]">
+ </td>
+ </tr>
+
+ <tr>
+ <th align="right">
+ <label for="cc">CC:</label>
+ </th>
+ <td colspan="3">
+ [% INCLUDE global/userselect.html.tmpl
+ id => "cc"
+ name => "cc"
+ value => cc
+ size => 60
+ multiple => 5
+ %]
+ </td>
+ </tr>
+ </table>
+
+ <br>
+
+ <input type="submit" id="commit" value="Submit Request">
+ <p>
+ [ <span class="required_star">*</span> <span class="required_explanation">
+ Required Field</span> ]
+ </p>
+ </form>
+
+ <p>Thanks for contacting us. You will be notified by email of any progress made in resolving your request.</p>
+
+[% ELSE %]
+ <p>Sorry, you do not have access to this page.</p>
+[% END %]
+
+[% PROCESS global/footer.html.tmpl %]
diff --git a/extensions/BMO/template/en/default/bug/create/created-recruiting.html.tmpl b/extensions/BMO/template/en/default/bug/create/created-recruiting.html.tmpl
new file mode 100644
index 000000000..127a6442c
--- /dev/null
+++ b/extensions/BMO/template/en/default/bug/create/created-recruiting.html.tmpl
@@ -0,0 +1,28 @@
+[%# 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.
+ #%]
+
+[% PROCESS global/variables.none.tmpl %]
+
+[% PROCESS global/header.html.tmpl
+ title = "Recruiting Request Submission"
+%]
+
+<h1>Thank you!</h1>
+
+<p>
+ Thank you for submitting your request to have a requisition opened! It will be
+ reviewed by the VPs and prioritized according to needs across the
+ organization. If you have any questions please reach out to
+ <a href="mailto:mmarovich@mozilla.com">Michelle Marovich</a>.
+</p>
+
+<p style="font-size: x-small">
+ Reference: <a href="show_bug.cgi?id=[% id FILTER uri %]">#[% id FILTER html %]</a>
+</p>
+
+[% PROCESS global/footer.html.tmpl %]