Skip to content

Commit

Permalink
fix for procedures text not being displayed in consent template 5 in …
Browse files Browse the repository at this point in the history
…2.3.0, and fix parameter not actually included in exp-lookit-stimuli-preview shown in docs
  • Loading branch information
Kim Scott committed Feb 3, 2021
1 parent 6f2c60d commit 0d592ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion app/components/consent-template005/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<p> {{ exp-format purpose }} </p>

<h2> {{#if procedures_header}} {{procedures_header}} {{else}} {{t "consent-template-5.procedures-header" }} {{/if}}</h2>
<p> {{t "consent-template-5.duration-statement" duration=experiment.duration }}</p>
<p> {{t "consent-template-5.duration-statement" duration=experiment.duration }} {{exp-format procedures}} </p>

<h2> {{#if participation_header}} {{participation_header}} {{else}} {{t "consent-template-5.participation-header" }} {{/if}}</h2>
<p>
Expand Down
8 changes: 0 additions & 8 deletions app/components/exp-lookit-stimuli-preview/doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/<EXT>/``.

showPreviousButton [Boolean | ``true``]
Whether to show a 'previous' button

Expand Down

0 comments on commit 0d592ea

Please sign in to comment.