File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
app/views/reg-portal/research-10-25 Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11{% extends 'reg-portal/layout.html' %}
22
3+ {% if data['patient-name'] %}
4+ {% set name = data['patient-name'] %}
5+ {% else %}
6+ {% set name = 'Sam Smith' %}
7+ {% endif %}
8+
39{% block pageTitle %}
4- Sam Smith accepted - GP registrations portal - NHS
10+ {{ name }} accepted - GP registrations portal - NHS
511{% endblock %}
612
713{% block content %}
1824 < h1 class ="nhsuk-heading-xl ">
1925 Approved
2026 </ h1 >
21- < p class ="nhsuk-body-l "> Sam Smith has been added to your patient list</ p >
27+ < p class ="nhsuk-body-l "> {{ name }} has been added to your patient list</ p >
2228 < p > You should follow your surgery's guidance for managing newly registered patients.</ p >
2329 </ div >
2430
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ <h1 class="nhsuk-heading-l">Jane Jones</h1>
2525 < p class ="nhsuk-u-margin-bottom-0 "> Postcode</ p >
2626 < p class ="nhsuk-heading-s nhsuk-u-padding-top-0 "> BH12 7ER</ p >
2727 < div style ="display: flex; height: 100%; margin-bottom: 48px; ">
28- < a class ="nhsuk-button " style ="margin-top:auto; margin-bottom:auto; margin-left:0; margin-right:24px; " href ="accept-confirm "> Approve</ a >
29- < a href ="reject-reasons " style ="margin-top:auto; margin-bottom:auto; margin-left:0; margin-right:0; "> Reject</ a >
28+ < a class ="nhsuk-button " style ="margin-top:auto; margin-bottom:auto; margin-left:0; margin-right:24px; " href ="accept-confirm?patient-name=Jane Jones "> Approve</ a >
29+ < a href ="reject-reasons?patient-name=Jane Jones " style ="margin-top:auto; margin-bottom:auto; margin-left:0; margin-right:0; "> Reject</ a >
3030 </ div >
3131
3232 < div class ="nhsuk-warning-callout ">
You can’t perform that action at this time.
0 commit comments