Skip to content

Commit

Permalink
[CVSRP-4773] update content on has employeee been on statutory leave …
Browse files Browse the repository at this point in the history
…page (#602)

Merged.
  • Loading branch information
peckover authored Mar 23, 2021
1 parent 9dace49 commit 65d5e50
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
8 changes: 4 additions & 4 deletions conf/messages.cy
Original file line number Diff line number Diff line change
Expand Up @@ -1008,11 +1008,11 @@ statutoryLeavePay.details.l4 = reduced rate paid leave following a period of fam

# HasEmployeeBeenOnStatutoryLeave Messages
# ------------------------------------------------
hasEmployeeBeenOnStatutoryLeave.title = Has this employee been on statutory leave between {0} and {0}
hasEmployeeBeenOnStatutoryLeave.heading = Has this employee been on statutory leave between {0} and {0}
hasEmployeeBeenOnStatutoryLeave.title = Has this employee been on statutory leave for part of the period between {0} and {1}?
hasEmployeeBeenOnStatutoryLeave.heading = Has this employee been on statutory leave for part of the period between {0} and {1}?
hasEmployeeBeenOnStatutoryLeave.checkYourAnswersLabel = Has employee been on statutory leave
hasEmployeeBeenOnStatutoryLeave.error.required = Select yes if this employee been on statutory leave
hasEmployeeBeenOnStatutoryLeave.p = Statutory leave only includes:
hasEmployeeBeenOnStatutoryLeave.error.required = Select yes if this employee has been on statutory leave for part of the period between {0} and {1}
hasEmployeeBeenOnStatutoryLeave.p = For this calculation, statutory leave only includes:
hasEmployeeBeenOnStatutoryLeave.bullet1 = statutory sick pay related leave
hasEmployeeBeenOnStatutoryLeave.bullet2 = family related statutory leave, for example paternity leave
hasEmployeeBeenOnStatutoryLeave.bullet3 = reduced rate paid leave following a period of statutory sick pay related leave
Expand Down
8 changes: 4 additions & 4 deletions conf/messages.en
Original file line number Diff line number Diff line change
Expand Up @@ -1022,11 +1022,11 @@ statutoryLeavePay.details.l4 = reduced rate paid leave following a period of fam

# HasEmployeeBeenOnStatutoryLeave Messages
# ------------------------------------------------
hasEmployeeBeenOnStatutoryLeave.title = Has this employee been on statutory leave between {0} and {1}
hasEmployeeBeenOnStatutoryLeave.heading = Has this employee been on statutory leave between {0} and {1}
hasEmployeeBeenOnStatutoryLeave.title = Has this employee been on statutory leave for part of the period between {0} and {1}?
hasEmployeeBeenOnStatutoryLeave.heading = Has this employee been on statutory leave for part of the period between {0} and {1}?
hasEmployeeBeenOnStatutoryLeave.checkYourAnswersLabel = Has employee been on statutory leave
hasEmployeeBeenOnStatutoryLeave.error.required = Select yes if this employee has been on statutory leave between {0} and {1}
hasEmployeeBeenOnStatutoryLeave.p = Statutory leave only includes:
hasEmployeeBeenOnStatutoryLeave.error.required = Select yes if this employee has been on statutory leave for part of the period between {0} and {1}
hasEmployeeBeenOnStatutoryLeave.p = For this calculation, statutory leave only includes:
hasEmployeeBeenOnStatutoryLeave.bullet1 = statutory sick pay related leave
hasEmployeeBeenOnStatutoryLeave.bullet2 = family related statutory leave, for example paternity leave
hasEmployeeBeenOnStatutoryLeave.bullet3 = reduced rate paid leave following a period of statutory sick pay related leave
Expand Down
2 changes: 1 addition & 1 deletion it/assets/PageTitles.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ object PageTitles {
val onPayrollBefore30thOct2020 = "Was this employee on your payroll on or before 30 October 2020?"

def hasEmployeeBeenOnStatutoryLeave(boundaryStart: String, boundaryEnd: String) =
s"Has this employee been on statutory leave between $boundaryStart and $boundaryEnd"
s"Has this employee been on statutory leave for part of the period between $boundaryStart and $boundaryEnd"
}
17 changes: 9 additions & 8 deletions test/assets/messages/BeenOnStatutoryLeaveMessages.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ package assets.messages

object BeenOnStatutoryLeaveMessages {

def h1(boundaryStart: String, boundaryEnd: String) = s"Has this employee been on statutory leave between $boundaryStart and $boundaryEnd"
val p = "Statutory leave only includes:"
val bullet1 = "statutory sick pay related leave"
val bullet2 = "family related statutory leave, for example paternity leave"
val bullet3 = "reduced rate paid leave following a period of statutory sick pay related leave"
val bullet4 = "reduced rate paid leave following a period of family related statutory leave"
val dayEmploymentStarted = "the day their employment started"
val insetText = "If the employee was on statutory leave for the full period between these dates, you must answer ‘no’."
def h1(boundaryStart: String, boundaryEnd: String) =
s"Has this employee been on statutory leave for part of the period between $boundaryStart and $boundaryEnd?"
val p = "For this calculation, statutory leave only includes:"
val bullet1 = "statutory sick pay related leave"
val bullet2 = "family related statutory leave, for example paternity leave"
val bullet3 = "reduced rate paid leave following a period of statutory sick pay related leave"
val bullet4 = "reduced rate paid leave following a period of family related statutory leave"
val dayEmploymentStarted = "the day their employment started"
val insetText = "If the employee was on statutory leave for the full period between these dates, you must answer ‘no’."

}

0 comments on commit 65d5e50

Please sign in to comment.