From 0d592ea9096523ebaf998ac0110f182d6ffa99fe Mon Sep 17 00:00:00 2001 From: Kim Scott Date: Wed, 3 Feb 2021 09:29:11 -0500 Subject: [PATCH] fix for procedures text not being displayed in consent template 5 in 2.3.0, and fix parameter not actually included in exp-lookit-stimuli-preview shown in docs --- app/components/consent-template005/template.hbs | 2 +- app/components/exp-lookit-stimuli-preview/doc.rst | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/app/components/consent-template005/template.hbs b/app/components/consent-template005/template.hbs index ead822f9..b4aa8ab1 100644 --- a/app/components/consent-template005/template.hbs +++ b/app/components/consent-template005/template.hbs @@ -13,7 +13,7 @@

{{ 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 }}

+

{{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}}

diff --git a/app/components/exp-lookit-stimuli-preview/doc.rst b/app/components/exp-lookit-stimuli-preview/doc.rst index 180982b0..d448799d 100644 --- a/app/components/exp-lookit-stimuli-preview/doc.rst +++ b/app/components/exp-lookit-stimuli-preview/doc.rst @@ -92,14 +92,6 @@ Example Parameters ---------------- -video [Object | ``{}`` ] - Object describing the video to show. It can have the following properties: - - :source: [String or Array] - The location of the main video to play. This can be either - an array of ``{'src': 'https://...', 'type': '...'}`` objects (e.g., to provide both - webm and mp4 versions at specified URLS) or a single string relative to ``baseDir//``. - showPreviousButton [Boolean | ``true``] Whether to show a 'previous' button