{% set layout = "ClarolineCoreBundle:Workspace:layout.html.twig" %} {% if isDesktop() %} {% set layout = "ClarolineCoreBundle:Desktop:layout.html.twig" %} {% endif %} {% extends layout %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %} {{ 'exercise' | trans }} : {{ entity.title }} {% endblock %} {% block section_content %}
{{ 'title' | trans }} | {{ entity.title }} |
---|---|
{{ 'description' | trans }} | {% if entity.description is not empty %} {{ entity.description|raw }} {% else %} - {% endif %} |
{{ 'start_date' | trans }} | {{ entity.startdate|date('d/m/Y \\- H\\hi\\ms\\s') }} |
{{ 'use_date_end' | trans }} | {% if entity.useDateEnd == 0 %} {% else %} {% endif %} |
{{ 'end_date' | trans }} | {{ entity.enddate|date('d/m/Y \\- H\\hi\\ms\\s') }} |
{{ 'random_questions' | trans }} | {% if entity.shuffle == 0 %} {% else %} {% endif %} |
{{ 'number_questions_draw' | trans }} | {% if entity.nbQuestion != 0 %} {{ entity.nbQuestion }} {% else %} {{ 'all_question'|trans }} {% endif %} |
{{ 'keep_same_question' | trans }} | {% if entity.keepSameQuestion == 0 %} {% else %} {% endif %} | #}
{{ 'creation_date' | trans }} | {{ entity.dateCreate|date('d/m/Y \\- H\\hi\\ms\\s') }} |
{{ 'maximum_tries' | trans }} | {% if entity.maxAttempts != 0 %} {{ entity.maxAttempts }} {% else %} {{ 'infiny'|trans }} {% endif %} |
{{ 'availability_of_correction' | trans }} | {% if(entity.correctionMode == 1) %} {{ 'at_the_end_of_assessment' | trans }} {% elseif (entity.correctionMode == 2) %} {{ 'after_the_last_attempt' | trans }} {% elseif (entity.correctionMode == 3) %} {{ 'from' | trans }} : {{ entity.dateCorrection|date('d/m/Y \\- H\\hi\\ms\\s') }} {% elseif (entity.correctionMode == 4) %} {{ 'never' | trans }} {% endif %} |
{{ 'availability_of_score' | trans }} | {% if(entity.markMode == 1) %} {{ 'at_the_same_time_that_the_correction' | trans }} {% else %} {{ 'at_the_end_of_assessment' | trans }} {% endif %} |
{{ 'test_exit' | trans }} | {% if entity.dispButtonInterrupt == 0 %} {% else %} {% endif %} |