Skip to content

Commit 9e7a705

Browse files
authored
Merge pull request #1147 from alphagov/2124-rename-page
2124: Rename 12-week received page to 12-week update received
2 parents cbee0dd + 289502a commit 9e7a705

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

accessibility_monitoring_platform/apps/common/sitemap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ def __init__(self, type=PlatformPageGroup.Type.MOBILE_CASE_NAV, **kwargs):
15871587
next_page_url_name="detailed:edit-12-week-received",
15881588
),
15891589
DetailedCasePlatformPage(
1590-
name="12-week received",
1590+
name="12-week update received",
15911591
url_name="detailed:edit-12-week-received",
15921592
complete_flag_name="twelve_week_received_complete_date",
15931593
case_details_form_class=TwelveWeekReceivedUpdateForm,

accessibility_monitoring_platform/apps/detailed/csv_export.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,14 +529,14 @@
529529
source_class=DetailedCase,
530530
source_attr="twelve_week_update_complete_date",
531531
),
532-
# Correspondence - 12-week received
532+
# Correspondence - 12-week update received
533533
CSVColumn(
534534
column_header="12-week update received",
535535
source_class=DetailedCase,
536536
source_attr="twelve_week_received_date",
537537
),
538538
CSVColumn(
539-
column_header="Correspondence 12-week received page complete",
539+
column_header="Correspondence 12-week update received page complete",
540540
source_class=DetailedCase,
541541
source_attr="twelve_week_received_complete_date",
542542
),

accessibility_monitoring_platform/apps/detailed/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ class Meta:
442442

443443

444444
class TwelveWeekReceivedUpdateForm(VersionForm):
445-
"""Form for updating correspondence 12-week received page"""
445+
"""Form for updating correspondence 12-week update received page"""
446446

447447
twelve_week_received_date = AMPDateField(label="12-week update received")
448448
twelve_week_received_complete_date = AMPDatePageCompleteField()

accessibility_monitoring_platform/apps/detailed/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class ServiceType(models.TextChoices):
160160
twelve_week_update_date = models.DateField(null=True, blank=True)
161161
twelve_week_update_complete_date = models.DateField(null=True, blank=True)
162162

163-
# Correspondence - 12-week received
163+
# Correspondence - 12-week update received
164164
twelve_week_received_date = models.DateField(null=True, blank=True)
165165
twelve_week_received_complete_date = models.DateField(null=True, blank=True)
166166

accessibility_monitoring_platform/apps/detailed/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ class CorrespondenceTwelveWeekRequestUpdateView(CorrespondenceUpdateView):
511511

512512

513513
class CorrespondenceTwelveWeekReceivedUpdateView(CorrespondenceUpdateView):
514-
"""View to update correspondence 12-week received"""
514+
"""View to update correspondence 12-week update received"""
515515

516516
form_class: type[TwelveWeekReceivedUpdateForm] = TwelveWeekReceivedUpdateForm
517517

stack_tests/integration_tests/cypress/e2e/new_detailed_case.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('Create detailed case', () => {
6666
cy.title().should('eq', `${newOrganisationName} | 12-week update requested`)
6767
cy.contains('Save and continue').click()
6868

69-
cy.title().should('eq', `${newOrganisationName} | 12-week received`)
69+
cy.title().should('eq', `${newOrganisationName} | 12-week update received`)
7070
cy.contains('Save and continue').click()
7171

7272
cy.title().should('eq', `${newOrganisationName} | Retest result`)

0 commit comments

Comments
 (0)