Skip to content

Commit d5cf40c

Browse files
committed
add missing page titles
1 parent b23b3ce commit d5cf40c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

manage_breast_screening/mammograms/views/special_appointment_views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def get_context_data(self, **kwargs):
3737
"text": "Back to appointment",
3838
},
3939
"caption": self.participant.full_name,
40+
"page_title": "Provide special appointment details",
4041
"heading": "Provide special appointment details",
4142
},
4243
)
@@ -91,6 +92,7 @@ def get_context_data(self, **kwargs):
9192
"text": "Back",
9293
},
9394
"caption": self.participant.full_name,
95+
"page_title": "Which of these reasons are temporary?",
9496
"heading": "Which of these reasons are temporary?",
9597
},
9698
)

manage_breast_screening/mammograms/views/symptom_views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def get_context_data(self, **kwargs):
4545
"back_link_params": self.get_back_link_params(),
4646
"caption": participant.full_name,
4747
"heading": f"Details of the {self.symptom_type_name}",
48+
"page_title": f"Details of the {self.symptom_type_name}",
4849
},
4950
)
5051

@@ -143,6 +144,7 @@ def get(self, request, *args, **kwargs):
143144
symptom = get_object_or_404(Symptom, pk=kwargs["symptom_pk"])
144145

145146
context = {
147+
"page_title": "Are you sure you want to delete this symptom?",
146148
"heading": "Are you sure you want to delete this symptom?",
147149
"confirm_action": {
148150
"text": "Delete symptom",

0 commit comments

Comments
 (0)