diff --git a/cmd/server/assets/codes/_codescripts.html b/cmd/server/assets/codes/_codescripts.html deleted file mode 100644 index 2b30327bb..000000000 --- a/cmd/server/assets/codes/_codescripts.html +++ /dev/null @@ -1,78 +0,0 @@ -{{define "codescripts"}} - -{{end}} diff --git a/cmd/server/assets/codes/issue.html b/cmd/server/assets/codes/issue.html index 26d82154e..6aeeec184 100644 --- a/cmd/server/assets/codes/issue.html +++ b/cmd/server/assets/codes/issue.html @@ -35,11 +35,9 @@ {{end}} -

{{t $.locale "header.create-verification-code"}}

+

{{t $.locale "codes.issue.header"}}

- Complete the following form to issue a single-use token to verify a - patient. Do not submit this form until you are prepared to relay - the code to the patient. + {{t $.locale "codes.issue.instructions"}}

{{/* Calculate the column width based on the number of expected choices */}} @@ -53,7 +51,7 @@

{{t $.locale "header.create-verification-code"}}

-
{{t $.locale "header.diagnosis"}}
+
{{t $.locale "codes.issue.diagnosis-header"}}
{{if $currentRealm.ValidTestType "confirmed"}} @@ -61,9 +59,9 @@

{{t $.locale "header.create-verification-code"}}

@@ -75,9 +73,9 @@

{{t $.locale "header.create-verification-code"}}

@@ -89,9 +87,9 @@

{{t $.locale "header.create-verification-code"}}

@@ -102,49 +100,36 @@

{{t $.locale "header.create-verification-code"}}

-
{{t $.locale "header.dates"}}
+
{{t $.locale "codes.issue.dates-header"}}
- +
- +
- - {{if $currentRealm.RequireDate}} -
-
- - {{$currentRealm.Name}} requires at least one date to be - provided. - -
-
- {{end}}
{{ if $hasSMSConfig }}
-
Notification
+
{{t $.locale "codes.issue.sms-text-message-header"}}
- -
+ +
- If provided, the system will send text containing the code to the - patient. This must be a phone number capable of receiving SMS text - messages. + {{t $.locale "codes.issue.sms-text-message-detail"}}
@@ -154,7 +139,7 @@

{{t $.locale "header.create-verification-code"}}

- +
@@ -162,16 +147,16 @@

{{t $.locale "header.create-verification-code"}}

- SMS verification link - + {{t $.locale "codes.issue.sms-verification-link-header"}} +
- Successfully sent SMS to . - Instruct the patient to check their text messages on their mobile - phone where Exposure Notifications is enabled. + {{t $.locale "codes.issue.sms-verification-detail" "" | safeHTML}}
@@ -179,15 +164,16 @@

{{t $.locale "header.create-verification-code"}}

- Backup short code - + {{t $.locale "codes.issue.backup-short-code-header"}} +
- Share this code with the patient if they did not - receive the SMS text message on their mobile phone. + {{t $.locale "codes.issue.backup-short-code-detail"}}
@@ -197,14 +183,16 @@

{{t $.locale "header.create-verification-code"}}

- Generated short code - + {{t $.locale "codes.issue.generated-short-code-header"}} +
- Share this code with the patient immediately. + {{t $.locale "codes.issue.generated-short-code-detail"}}
@@ -213,21 +201,19 @@

{{t $.locale "header.create-verification-code"}}

-
Unique identifier
+
+ {{t $.locale "codes.issue.uuid-header"}} +

- Use this to see if the verification code has been redeemed. + {{t $.locale "codes.issue.uuid-detail"}}

-
- - - -
+ {{template "clippy" "uuid"}}
@@ -235,13 +221,11 @@

{{t $.locale "header.create-verification-code"}}

- +
- {{template "codescripts" .}} -