File tree Expand file tree Collapse file tree 7 files changed +16
-358
lines changed
Expand file tree Collapse file tree 7 files changed +16
-358
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,8 @@ const defaultSettings = {
6161 darkMode : 'false' ,
6262 screening : {
6363 confirmIdentityOnCheckIn : 'true' ,
64- manualImageCollection : 'false'
64+ manualImageCollection : 'false' ,
65+ showParticipantSection : 'false'
6566 } ,
6667 reading : {
6768 blindReading : config . reading . blindReading ,
Original file line number Diff line number Diff line change 7878 {{ event .timing .startTime | formatTimeString }} ({{ event .timing .duration }} minutes) - {{ clinic .date | formatDate }} ({{ clinic .date | formatRelativeDate }} )
7979</p >
8080
81- <p class =" nhsuk-u-margin-bottom-4" ><a href =" {{ '/participants/' + participant.id | urlWithReferrer(currentUrl) }}" >View participant record</a ></p >
81+ {# Suppressed until we decide whether to ship the participant record #}
82+ {% if data .settings .screening .showParticipantSection | falsify %}
83+ <p class =" nhsuk-u-margin-bottom-4" ><a href =" {{ '/participants/' + participant.id | urlWithReferrer(currentUrl) }}" >View participant record</a ></p >
84+ {% endif %}
8285
8386{% if event | hasNotStarted and currentUser | isClinician %}
8487 <form action =" ./start" method =" POST" >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5151 href: "/participants",
5252 text: "Participants",
5353 current: true if navActive == "participants"
54- },
54+ } if data.settings.screening.showParticipantSection != 'false' else {} ,
5555 {
5656 href: "#",
5757 text: "Messages",
6161 text: "Help and support",
6262 current: true if navActive == "help"
6363 }
64- ] %}
64+ ] | removeEmpty %}
6565
6666 {% if appointmentWorkflow %}
6767 {% set navItems = [
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments