Skip to content

Commit

Permalink
Merge pull request #6829 from DFE-Digital/ASR-new-job-role-urls
Browse files Browse the repository at this point in the history
Add new ASR landing pages
  • Loading branch information
ddippolito committed May 28, 2024
2 parents d6f4c3c + 413327b commit c75ea91
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 18 deletions.
6 changes: 6 additions & 0 deletions app/views/home/_landing_page_links.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@
- group.with_landing_page "headteacher-jobs"
- group.with_landing_page "sendco-jobs"
- group.with_landing_page "ect-suitable-jobs"
- group.with_landing_page "other-leadership-roles-jobs"
= landing_page_link_group title: t(".support_roles"), classes: "govuk-grid-column-one-third" do |group|
- group.with_landing_page "teaching-assistant-jobs"
- group.with_landing_page "higher-level-teaching-assistant-jobs"
- group.with_landing_page "education-support-jobs"
- group.with_landing_page "administration-hr-data-finance-jobs"
- group.with_landing_page "catering-cleaning-site-management-jobs"
- group.with_landing_page "it-support-jobs"
- group.with_landing_page "pastoral-health-welfare-jobs"
- group.with_landing_page "other-support-roles-jobs"
= landing_page_link_group title: t(".education_phases"), classes: "govuk-grid-column-one-third" do |group|
= group.with_landing_page "nursery-jobs"
= group.with_landing_page "primary-school-jobs"
Expand Down
48 changes: 33 additions & 15 deletions config/landing_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,57 @@ shared:
# criteria is correct and doesn't break the search engine).

### Job roles
sendco-jobs:
teaching_job_roles:
- sendco
teacher-jobs:
teaching_job_roles:
- teacher
headteacher-jobs:
teaching_job_roles:
- headteacher
head-of-department-or-curriculum-jobs:
teaching_job_roles:
- head_of_department_or_curriculum
head-of-year-or-phase-jobs:
teaching_job_roles:
- head_of_year_or_phase
assistant-headteacher-jobs:
teaching_job_roles:
- assistant_headteacher
deputy-headteacher-jobs:
teaching_job_roles:
- deputy_headteacher
other-leadership-roles-jobs:
teaching_job_roles:
- other_leadership
ect-suitable-jobs:
ect_statuses:
- ect_suitable
education-support-jobs:
support_job_roles:
- education_support
head-of-year-or-phase-jobs:
teaching_job_roles:
- head_of_year_or_phase
head-of-department-or-curriculum-jobs:
teaching_job_roles:
- head_of_department_or_curriculum
headteacher-jobs:
teaching_job_roles:
- headteacher
higher-level-teaching-assistant-jobs:
support_job_roles:
- higher_level_teaching_assistant
sendco-jobs:
teaching_job_roles:
- sendco
teacher-jobs:
teaching_job_roles:
- teacher
teaching-assistant-jobs:
support_job_roles:
- teaching_assistant
administration-hr-data-finance-jobs:
support_job_roles:
- administration_hr_data_and_finance
catering-cleaning-site-management-jobs:
support_job_roles:
- catering_cleaning_and_site_management
it-support-jobs:
support_job_roles:
- it_support
pastoral-health-welfare-jobs:
support_job_roles:
- pastoral_health_and_welfare
other-support-roles-jobs:
support_job_roles:
- other_support

### Phases
nursery-jobs:
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ en:
jobs_by_school_type_and_role: Jobs by type of school and role
jobs_by_subject: Teaching jobs by subject
working_patterns: Working patterns
teaching_roles: Teaching roles
teaching_roles: Teaching & leadership roles
support_roles: Support roles

search:
Expand Down
37 changes: 36 additions & 1 deletion config/locales/landing_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ en:
name: "Learning support or cover supervisor"
title: "Education & School Support Jobs"
heading: "%{count} education and school support jobs"
meta_description: "Find jobs for LSAs, HR managers, finance officers, admin assistants, cover supervisors and other non-teaching vacancies in schools near you."
meta_description: "Find jobs for LSAs, HR managers, finance officers, admin assistants, cover supervisors and other support roles in schools near you."
sendco-jobs:
name: "SENDCo (special educational needs and disabilities coordinator)"
title: "SEND Coordinator (SENDCo) Jobs"
Expand All @@ -91,6 +91,41 @@ en:
title: "Teaching Assistant Jobs"
heading: "%{count} teaching assistant jobs"
meta_description: "Find full and part time teaching assistant jobs and classroom assistant vacancies. See which schools near you are currently hiring TAs and LSAs."
other-teaching-support-jobs:
name: "Other teaching support"
title: "Other Teaching Support Jobs"
heading: "%{count} other teaching support jobs"
meta_description: "Find full and part time teaching support roles in schools. See which schools near you are hiring and apply quickly and easily through Teaching Vacancies."
administration-hr-data-finance-jobs:
name: "Administration, HR, data and finance"
title: "Administration, HR, Data & Finance Jobs"
heading: "%{count} administration, HR, data and finance jobs"
meta_description: "Find administration, HR, data and finance jobs in schools. Apply for full and part time roles quickly and easily through Teaching Vacancies. "
catering-cleaning-site-management-jobs:
name: "Catering, cleaning and site management"
title: "Catering, Cleaning & Site Management Jobs"
heading: "%{count} catering, cleaning and site management jobs"
meta_description: "Find catering, cleaning and site management jobs in schools. Apply for full and part time roles quickly and easily through Teaching Vacancies."
it-support-jobs:
name: "IT support"
title: "IT Support Jobs"
heading: "%{count} IT support jobs"
meta_description: "Find IT support jobs in schools. Apply for full and part time roles quickly and easily through Teaching Vacancies."
pastoral-health-welfare-jobs:
name: "Pastoral, health and welfare"
title: "Pastoral, Health & Welfare Jobs"
heading: "%{count} pastoral, health and welfare jobs"
meta_description: "Find pastoral, health and welfare jobs in schools. Apply for full and part time roles quickly and easily through Teaching Vacancies."
other-leadership-roles-jobs:
name: "Other leadership roles"
title: "Other Leadership Roles"
heading: "%{count} other leadership roles"
meta_description: "Find the right leadership role for you on Teaching Vacancies. Apply for full and part time jobs in schools quickly and easily."
other-support-roles-jobs:
name: "Other support roles"
title: "Other Support Roles"
heading: "%{count} other support roles"
meta_description: "Find and apply for support roles in schools on Teaching Vacancies. Apply quickly and easily for full and part time jobs in schools."

### Education phases
nursery-jobs:
Expand Down
2 changes: 1 addition & 1 deletion spec/system/other/application_sitemap_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
document = Nokogiri::XML::Document.parse(body)
nodes = document.search("url")

expect(nodes.count).to eq(293)
expect(nodes.count).to eq(299)
expect(nodes.search("loc[text()='#{root_url(protocol: 'https')}']").text)
.to eq(root_url(protocol: "https"))

Expand Down

0 comments on commit c75ea91

Please sign in to comment.