Skip to content

Commit

Permalink
Rename key
Browse files Browse the repository at this point in the history
Renames the `hours_teaching_eligible_subjects` key to
`half_teaching_hours` as `half_teaching_hours` maps to the question
shown to the claimant.
  • Loading branch information
rjlynch committed Aug 28, 2024
1 parent eeac873 commit c7fbafb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class VerifyClaimForm < Form
teaching_responsibilities
further_education_teaching_start_year
teaching_hours_per_week
hours_teaching_eligible_subjects
half_teaching_hours
subjects_taught
],
variable_contract: %i[
Expand All @@ -19,7 +19,7 @@ class VerifyClaimForm < Form
further_education_teaching_start_year
taught_at_least_one_term
teaching_hours_per_week
hours_teaching_eligible_subjects
half_teaching_hours
subjects_taught
teaching_hours_per_week_next_term
]
Expand Down
4 changes: 2 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1114,15 +1114,15 @@ en:
teaching_responsibilities: "Is %{claimant} a member of staff with teaching responsibilities?"
further_education_teaching_start_year: "Is %{claimant} in the first 5 years of their further education teaching career in England?"
teaching_hours_per_week: "Is %{claimant} timetabled to teach an average of 12 hours per week during the current term?"
hours_teaching_eligible_subjects: "For at least half of their timetabled teaching hours, does %{claimant} teach 16- to 19-year-olds, including those up to age 25 with an Education, Health and Care Plan (EHCP)?"
half_teaching_hours: "For at least half of their timetabled teaching hours, does %{claimant} teach 16- to 19-year-olds, including those up to age 25 with an Education, Health and Care Plan (EHCP)?"
subjects_taught: "For at least half of their timetabled teaching hours, does %{claimant} teach:"
variable_contract:
contract_type: "Does %{claimant} have a variable hour contract of employment at %{provider}?"
teaching_responsibilities: "Is %{claimant} a member of staff with teaching responsibilities?"
further_education_teaching_start_year: "Is %{claimant} in the first 5 years of their further education teaching career in England?"
taught_at_least_one_term: "Has %{claimant} taught for at least one academic term at %{provider}?"
teaching_hours_per_week: "Is %{claimant} timetabled to teach an average of 12 hours per week during the current term?"
hours_teaching_eligible_subjects: "For at least half of their timetabled teaching hours, does %{claimant} teach 16- to 19-year-olds, including those up to age 25 with an Education, Health and Care Plan (EHCP)?"
half_teaching_hours: "For at least half of their timetabled teaching hours, does %{claimant} teach 16- to 19-year-olds, including those up to age 25 with an Education, Health and Care Plan (EHCP)?"
subjects_taught: "For at least half of their timetabled teaching hours, does %{claimant} teach:"
teaching_hours_per_week_next_term: "Will %{claimant} be timetabled to teach at least 2.5 hours per week next term?"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"outcome" => true
},
{
"name" => "hours_teaching_eligible_subjects",
"name" => "half_teaching_hours",
"outcome" => false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
teaching_responsibilities
further_education_teaching_start_year
teaching_hours_per_week
hours_teaching_eligible_subjects
half_teaching_hours
subjects_taught
]
)
Expand All @@ -101,7 +101,7 @@
further_education_teaching_start_year
taught_at_least_one_term
teaching_hours_per_week
hours_teaching_eligible_subjects
half_teaching_hours
subjects_taught
teaching_hours_per_week_next_term
]
Expand All @@ -121,7 +121,7 @@
"1": {name: "teaching_responsibilities", outcome: "1"},
"2": {name: "further_education_teaching_start_year", outcome: "1"},
"3": {name: "teaching_hours_per_week", outcome: "1"},
"4": {name: "hours_teaching_eligible_subjects", outcome: "0"},
"4": {name: "half_teaching_hours", outcome: "0"},
"5": {name: "subjects_taught", outcome: "0"}
}
}
Expand Down Expand Up @@ -154,7 +154,7 @@
"outcome" => true
},
{
"name" => "hours_teaching_eligible_subjects",
"name" => "half_teaching_hours",
"outcome" => false
},
{
Expand Down

0 comments on commit c7fbafb

Please sign in to comment.