{% 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 %} {{ 'list of question' | trans }} {% endblock %} {% block resourceBreadcrumb %}
  • {{ _resource.getResourceNode().getName() }}
  • {{ 'my questions' | trans }}
  • {{ 'list of question' | trans }}
  • {% endblock %} {% set exerciseID = exoID %} {% block section_content %}

    {{ 'list of question' | trans }}

    {{ 'back' | trans }} {{ 'create a new entry' | trans }} {{ 'import QTI' | trans }} {{ 'searchQuestion' | trans }} {{ 'import' | trans }} {% if QuestionsExo == 'false' %} {% if (pagerMy.getNbResults > pagerMy.maxPerPage or pagerShared.getNbResults > pagerShared.maxPerPage) and displayAll == 0 %} {{ 'display all on this page' | trans }} {% elseif displayAll == 1 %} {{ 'display pagination' | trans }} {% endif %} {% endif %}
    {% if qtiError is defined %}
    {{ qtiError }}
    {% endif %}
    {% if QuestionsExo == 'false' %}

    {{ "my questions"|trans }} :


    {% if interactions is not empty %} {% set questionsList = 'importMy' %} {% include "UJMExoBundle:Partial:question/questionsList.html.twig" %}
    {% if pagerMy.haveToPaginate %} {% endif %}
    {% else %}
    {{ 'noQuestionFound'|trans }} ...
    {% endif %}

    {{ 'my shared questions' | trans }} :


    {% if sharedWithMe is not empty %} {% set questionsList = 'importShare' %} {% set interactions = sharedWithMe %} {% include "UJMExoBundle:Partial:question/questionsList.html.twig" %}
    {% if pagerShared.haveToPaginate %} {% endif %}
    {% else %}
    {{ 'noQuestionFound'|trans }} ...
    {% endif %} {% else %}

    {{ 'exercice linked Question' | trans }}

    {% if interactions is not empty %} {% set questionsList = 'importExoList' %} {% include "UJMExoBundle:Partial:question/questionsList.html.twig" %} {% else %}
    {{ 'noQuestionFound'|trans }} ...
    {% endif %}
    {% endif %}
    {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}