diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-24 09:53:44 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-24 09:53:44 +0200 |
commit | e44f130e969831d1d5272f48d9f5e97fae164065 (patch) | |
tree | f88d090795fab2358ce3b4bc783a97fdf370e019 /extensions/BMO/template/en/default/bug/create/cost-centers.none.tmpl | |
parent | 0aa6689164449c3f661c084ffadaf8d7a58af259 (diff) | |
download | bugzilla-e44f130e969831d1d5272f48d9f5e97fae164065.tar.gz bugzilla-e44f130e969831d1d5272f48d9f5e97fae164065.tar.xz |
Bug 1187184 - Minor updates to gear form
Diffstat (limited to 'extensions/BMO/template/en/default/bug/create/cost-centers.none.tmpl')
-rw-r--r-- | extensions/BMO/template/en/default/bug/create/cost-centers.none.tmpl | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/cost-centers.none.tmpl b/extensions/BMO/template/en/default/bug/create/cost-centers.none.tmpl new file mode 100644 index 000000000..44afd9d25 --- /dev/null +++ b/extensions/BMO/template/en/default/bug/create/cost-centers.none.tmpl @@ -0,0 +1,117 @@ +[%# 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. + #%] + +[% + cost_centers = [ + "1000 - Support Services" + "1001 - Office of Chair" + "1002 - Participation" + "1010 - Office of CTO" + "1011 - Research" + "1012 - Tech Evangelism" + "1013 - Advanced Technology Lab" + "1014 - Technology Strategy" + "1020 - Chief of Staff" + "1100 - Policy" + "1120 - Legal" + "1150 - Business Development" + "1210 - Finance and Accounting" + "1211 - Accounting" + "1212 - Finance" + "1213 - Payroll" + "1250 - Facilities" + "1320 - People Operations" + "1340 - People" + "1350 - Recruiting" + "1360 - Metrics" + "1400 - IT and Network" + "1500 - Content Services General" + "1501 - Content Services Engineering" + "1502 - Content Services Sales" + "1503 - Content Services Product" + "1700 - Strategic Initiative " + "2000 - Engagement" + "2200 - PR" + "2300 - Community Engagement" + "2320 - MDN" + "2400 - Brand Engagement" + "2500 - Engagement Websites" + "2600 - SUMO" + "3000 - Cloud and Services" + "3100 - Infrastructure (servers)" + "3110 - Production Cloud Infra" + "3120 - Development Cloud Infra" + "3130 - Production DC Infra" + "3210 - Services Engineering & Operations" + "3220 - Cloud Services Operation" + "3240 - Cloud Services Product and Project Management" + "3290 - Identity Engineering" + "5000 - Firefox" + "5100 - Firefox Product Marketing" + "5200 - Firefox Desktop" + "5210 - Firefox Desktop Engineering" + "5220 - Firefox Desktop UX" + "5230 - Firefox Desktop Product Management" + "5250 - Firefox Hello" + "5300 - Firefox Mobile " + "5310 - Firefox Android Engineering" + "5320 - Firefox Android UX" + "5330 - Firefox Android Product Management" + "5400 - Firefox Dev Tools" + "5500 - Firefox iOS" + "5600 - Firefox Program Manangement" + "6000 - Mobile" + "6110 - Firefox OS Engineering I" + "6140 - Firefox OS Automation" + "6150 - Firefox OS Engineering Program Management" + "6160 - Firefox OS QA" + "6200 - Firefox OS Product Management" + "6220 - Firefox OS Product Marketing" + "6300 - Firefox OS UX" + "6500 - Mobile Business Development" + "7000 - Mobile Planning and Ecosystem" + "7110 - Mobile Partner Engineering" + "7120 - Mobile Planning" + "7130 - Mobile Apps Engineering" + "7150 - Mobile Partners Contents" + "7200 - Mobile Ecosystem Program Manangement" + "7220 - Mobile Partner Products" + "7500 - Add Ons" + "8000 - Engineering Platform" + "8100 - Release Engineering" + "8300 - Engineering Program Management" + "8400 - Platform PKI" + "8410 - Platform Network" + "8420 - Platform Security" + "8430 - Platform Fuzzing" + "8440 - Platform DOM" + "8450 - Platform Rendering, Media and Graphics" + "8460 - Platform Android" + "8470 - Platform WebRTC" + "8480 - Platform Integration" + "8490 - Platform Accessibility" + "8510 - Platform QE" + "8600 - Development Tools and Automation" + "8700 - JavaScript" + "8750 - Localization (l10n)" + "900 - Mozilla Foundation" + ]; + + # the above list is in a format that mirrors the output we get from our financial system + # some forms prefer different ordering, so cut it up and reorder + cost_centers_by_name = []; + cost_centers_by_number = []; + FOREACH cost_center IN cost_centers; + matches = cost_center.match('^(\d+) - (.+)'); + cost_centers_by_name.push(matches.1 _ " (" _ matches.0 _ ")"); + num = matches.0 FILTER format("%04d"); + cost_centers_by_number.push(num _ " - " _ matches.1); + END; + cost_centers_by_name = cost_centers_by_name.sort; + cost_centers = cost_centers_by_number.sort; +%] |