{% embed 'WebsiteBundle:Layout:layout.html.twig' with { metaSettings: { 'viewport': 'width=device-width, initial-scale=1', 'keywords': '', 'description': 'site.metadata.description'|trans }, ogSettings: { 'title': 'site.metadata.title'|trans, 'image': '', 'description': 'site.metadata.description'|trans, 'url': url(app.request.get('_route'), app.request.get('_route_params')) } } %} {% block content %}
{# where to go next #} {% if testSession.number == 1 %} {# Then this is the first session! #} {% set route = 'session_reminder' %} {% elseif testSession.number == experiment.totalSessions %} {# Then this is the last session! #} {% set route = 'user_statistics' %} {% else %} {# Then this is an in between session! #} {% set route = 'session_mood_questions' %} {% endif %} {% set realTestCopyKeyPrefix = 'site.test.realTest.' %} {% if testSession.type == constant('WebsiteBundle\\Entity\\Test::TYPE_PASAT') %} {% set realTestCopyKeyPrefix = realTestCopyKeyPrefix ~ 'TYPE_PASAT' %} {% elseif testSession.type == constant('WebsiteBundle\\Entity\\Test::TYPE_APASAT') %} {% set realTestCopyKeyPrefix = realTestCopyKeyPrefix ~ 'TYPE_APASAT' %} {% else %} {% set realTestCopyKeyPrefix = realTestCopyKeyPrefix ~ 'TYPE_CONTROL' %} {% endif %}

{{ (realTestCopyKeyPrefix ~ '.title')|trans }}

{{ (realTestCopyKeyPrefix ~ '.subTitle')|trans }}

Ik ben klaar, start!
{% if testSession.type == 'PASAT' or testSession.type == 'APASAT' %}

{{ 'site.test.tutorial.title'|trans }}

{{ 'site.test.tutorial.pasat.gameSubTitle'|trans|raw }}

Getal 1

04

Getal 2

06

input 1

10

Getal 3

05

input 2

11

Je eerste ingave: 10 (4+6) Je tweede ingave: 11 (6+5)

{{ 'site.test.tutorial.button'|trans }}
{% elseif testSession.type == 'CONTROL' %}

{{ 'site.test.tutorial.title'|trans }}

{{ 'site.test.tutorial.control.subTitle.0'|trans }}

{{ 'site.test.tutorial.control.subTitle.1'|trans }}

Getal 1

04

input 1

04

Getal 2

06

input 2

06

Getal 3

18

input 3

18

{{ 'site.test.tutorial.button'|trans }}
{% endif %}
{% if testSession.gamificationLevel == constant('WebsiteBundle\\Entity\\ExperimentCondition::GAMIFICATION_HIGH') and testSession.type != 'PASAT' %}
Sessie {{ testSession.number }} /{{ experiment.totalSessions }}
LVL
Next LVL
{% for i in range(0,8) -%}

{{ ('site.test.realTest.pasat.motivations.'~i)|trans }}

{%- endfor %}
00:00
{% for i in range(0,8) -%}

{{ ('site.test.realTest.pasat.motivations.'~i)|trans }}

{%- endfor %}
{% endif %}

{{ 'site.test.realTest.control.title'|trans }}

{{ 'site.test.realTest.control.subtitle'|trans }}

{{ 'site.test.realTest.pasat.pause'|trans }}

{% for block in 1..18 %} {% if testSession.gamificationLevel == constant('WebsiteBundle\\Entity\\ExperimentCondition::GAMIFICATION_HIGH') and testSession.type != 'PASAT' %}
{% endif %}
{{ block }}
{% if testSession.gamificationLevel == constant('WebsiteBundle\\Entity\\ExperimentCondition::GAMIFICATION_HIGH') and testSession.type != 'PASAT' %}
{% endif %} {% endfor %}
{% endblock %} {% endembed %}