From 98b188a68b29b268f9fa39db6b578110959b78cf Mon Sep 17 00:00:00 2001 From: CJ Green <44074998+okaycj@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:31:10 -0400 Subject: [PATCH] Update to templates/move template from EFP --- packages/record/templates/consent-copy.hbs | 176 ++++++++++++++++++ .../record/templates/consent-video-trial.hbs | 21 +++ .../templates/consent-video-trial.mustache | 8 - .../record/templates/playback-feed.mustache | 2 +- .../record/templates/webcam-feed.mustache | 2 +- 5 files changed, 199 insertions(+), 10 deletions(-) create mode 100644 packages/record/templates/consent-copy.hbs create mode 100644 packages/record/templates/consent-video-trial.hbs delete mode 100644 packages/record/templates/consent-video-trial.mustache diff --git a/packages/record/templates/consent-copy.hbs b/packages/record/templates/consent-copy.hbs new file mode 100644 index 00000000..365e5fdf --- /dev/null +++ b/packages/record/templates/consent-copy.hbs @@ -0,0 +1,176 @@ +

+ {{t "consent-template-5.header"}}: + {{experiment.name}} +

+ +

+ {{t + "consent-template-5.intro-sentence" + name=PIName + institution=institution + experiment=experiment.name + }} + {{exp-format summary_statement}} +

+ +

+ {{#if purpose_header}} {{purpose_header}} {{else}} + {{t "consent-template-5.purpose-header"}} + {{/if}} +

+

{{exp-format purpose}}

+ +

+ {{#if procedures_header}} {{procedures_header}} {{else}} + {{t "consent-template-5.procedures-header"}} + {{/if}} +

+

+ {{t "consent-template-5.duration-statement" duration=experiment.duration}} + {{exp-format procedures}} +

+ +

+ {{#if participation_header}} {{participation_header}} {{else}} + {{t "consent-template-5.participation-header"}} + {{/if}} +

+

+ {{t "consent-template-5.participation-content" only_adult=prompt_only_adults}} +

+ +{{#if voluntary_participation}} +

{{exp-format voluntary_participation}}

+{{/if}} +{{#if risk_statement}} + +

+ {{#if risk_header}} {{risk_header}} {{else}} + {{t "consent-template-5.risk-header"}} + {{/if}} +

+ +

{{exp-format risk_statement}}

+{{/if}} + +

+ {{#if benefits_header}} {{benefits_header}} {{else}} + {{t "consent-template-5.benefits-header"}} + {{/if}} +

+ +

{{exp-format payment}}

+ +

{{t "consent-template-5.data-collection-header"}}

+ +

+ {{t "consent-template-5.data-collection-1" only_adult=prompt_only_adults}} + {{t "consent-template-5.data-collection-2"}} +

+ +

{{t "consent-template-5.data-collection-3"}}

+ +

{{t "consent-template-5.video-privacy-header"}}

+

{{t "consent-template-5.video-privacy-consent"}}

+ +{{#if private_level_only}} +

+ {{t "consent-template-5.video-privacy-private-description"}} + {{t "consent-template-5.video-privacy-withdraw-private-only"}} +

+{{else}} +

{{t "consent-template-5.video-privacy-overview"}}:

+ +

{{t "consent-template-5.video-privacy-withdraw"}}

+{{/if}} +{{#if include_databrary}} +

{{t "consent-template-5.databrary" htmlSafe=true}}

+{{/if}} +{{#if additional_video_privacy_statement}} +

{{exp-format additional_video_privacy_statement}}

+{{/if}} + +

{{t "consent-template-5.data-use-researchers-header"}}

+

+ {{t + "consent-template-5.data-use-researchers-content-1" + name=PIName + institution=institution + }} +

+ +

+ {{t + "consent-template-5.data-use-researchers-content-2" + only_adult=prompt_only_adults + }} +

+{{#if datause}} +

{{exp-format datause}}

+{{/if}} + +

{{t "consent-template-5.data-use-Lookit-header"}}

+

{{t "consent-template-5.data-use-Lookit-content"}}

+ +

{{t "consent-template-5.publication-header"}}

+

+ {{t "consent-template-5.publication-content" only_adult=prompt_only_adults}} +

+ +{{#if additional_segments}} + {{#each additional_segments as |segment|}} +

{{exp-format segment.title}}

+

{{exp-format segment.text}}

+ {{/each}} +{{/if}} + +

{{t "consent-template-5.research-subject-rights-header"}}

+

{{exp-format research_rights_statement}}

+ +{{#if gdpr}} +

{{t "consent-template-5.gdpr-header"}}

+

+ {{t "consent-template-5.gdpr-personal"}}: + {{exp-format gdpr_personal_data}}. + {{t "consent-template-5.gdpr-sensitive"}}: + {{exp-format gdpr_sensitive_data}} +

+

{{t "consent-template-5.gdpr-2"}}

+{{/if}} + +

{{t "consent-template-5.contact-header"}}

+

+ {{t + "consent-template-5.contact-statement-1" + name=PIName + institution=institution + contact=PIContact + only_adult=prompt_only_adults + omit_injury=omit_injury_phrase + }} +

+

+ {{t "consent-template-5.contact-statement-2" only_adult=prompt_only_adults}} +

\ No newline at end of file diff --git a/packages/record/templates/consent-video-trial.hbs b/packages/record/templates/consent-video-trial.hbs new file mode 100644 index 00000000..6b126fdc --- /dev/null +++ b/packages/record/templates/consent-video-trial.hbs @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/packages/record/templates/consent-video-trial.mustache b/packages/record/templates/consent-video-trial.mustache deleted file mode 100644 index 64a4b269..00000000 --- a/packages/record/templates/consent-video-trial.mustache +++ /dev/null @@ -1,8 +0,0 @@ - -
-

- - - - -

diff --git a/packages/record/templates/playback-feed.mustache b/packages/record/templates/playback-feed.mustache index e31f2a10..4e57735d 100644 --- a/packages/record/templates/playback-feed.mustache +++ b/packages/record/templates/playback-feed.mustache @@ -9,4 +9,4 @@ controls style="display: inline-block" > - + diff --git a/packages/record/templates/webcam-feed.mustache b/packages/record/templates/webcam-feed.mustache index 4416875d..bc40348c 100644 --- a/packages/record/templates/webcam-feed.mustache +++ b/packages/record/templates/webcam-feed.mustache @@ -7,4 +7,4 @@ height="{{height}}" style="display: inline-block" > - +