From 6279e605fcdd8905ddb908f7791da148bca32cbe Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 15 Jan 2015 19:12:29 -0500 Subject: Bug 1121594 - Mozilla Recruiting Requisition Opening Process Template --- .htaccess | 1 + extensions/BMO/lib/Data.pm | 5 + .../default/bug/create/comment-recruiting.txt.tmpl | 42 ++++ .../en/default/bug/create/cost-centers.html.tmpl | 94 +++++++++ .../default/bug/create/create-recruiting.html.tmpl | 234 +++++++++++++++++++++ .../bug/create/created-recruiting.html.tmpl | 28 +++ 6 files changed, 404 insertions(+) create mode 100644 extensions/BMO/template/en/default/bug/create/comment-recruiting.txt.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/cost-centers.html.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl create mode 100644 extensions/BMO/template/en/default/bug/create/created-recruiting.html.tmpl 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 + #%] +[% 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + # Reed Loden + #%] + +[% 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") %] +
Recruiting
+ +

+ 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. +

+ +

+ Do not put information about backfills or replacements directly into + this [% terms.bug %]. +

+ +
+ + + + + + + + + + + [% IF user.in_group('canconfirm') %] + + [% END %] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + [% INCLUDE global/userselect.html.tmpl + id => "cc" + name => "cc" + value => cc + size => 60 + multiple => 5 + %] +
+ +
+ + +

+ [ * + Required Field ] +

+
+ +

Thanks for contacting us. You will be notified by email of any progress made in resolving your request.

+ +[% ELSE %] +

Sorry, you do not have access to this page.

+[% 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" +%] + +

Thank you!

+ +

+ 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 + Michelle Marovich. +

+ +

+ Reference: #[% id FILTER html %] +

+ +[% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b