{#% set layout = "ClarolineCoreBundle:Workspace:layout.html.twig" %#} {#% if isDesktop() %#} {% set layout = "ClarolineCoreBundle:Desktop:layout.html.twig" %} {% block breadcrumb %} {{ macros.breadcrumbs([ { 'icon': 'fa fa-briefcase', 'name': 'desktop'|trans({}, 'platform'), 'href': path('claro_desktop_open') }, { 'name': 'bank_of_questions' | trans, 'href': '' } ]) }} {% endblock %} {#% else %#} {#% endif %#} {% extends layout %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %} {{ 'bank_of_questions' | trans }} {% endblock %} {% block section_content %}

{{ 'bank_of_questions' | trans }}

{{ 'create_a_new_entry' | trans }} {{ 'import_qti' | trans }} {{ 'manage_img' | trans }} {{ 'search_question' | 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 = 'my' %} {% include "UJMExoBundle:Partial:question/questionsList.html.twig" %} {% if pagerMy.haveToPaginate %} {% endif %} {% else %}
{{ 'no_question_found'|trans }} ...
{% endif %}

{{ 'shared_questions' | trans }} :


{% if sharedWithMe is not empty %} {% set questionsList = 'share' %} {% set interactions = sharedWithMe %} {% include "UJMExoBundle:Partial:question/questionsList.html.twig" %} {% if pagerShared.haveToPaginate %} {% endif %} {% else %}
{{ 'no_question_found'|trans }} ...
{% endif %} {% else %} {% if interactions is not empty %} {% set questionsList = 'exoList' %} {% include "UJMExoBundle:Partial:question/questionsList.html.twig" %} {% else %}
{{ 'no_question_found'|trans }} ...
{% endif %} {% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% include "UJMExoBundle:Partial:modal/confirmDelQuestion.html.twig" %} {% endblock %}