{% 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 %} {{ 'paper list' | trans }} {% endblock %} {% block resourceBreadcrumb %}
  • {{ _resource.getResourceNode().getName() }}
  • {{ 'paper list' | trans }}
  • {% endblock %} {% block section_content %}

    {{ 'paper list' | trans }}

    {{ 'back' | trans }} {% if retryButton and nbUserPaper == 0 and nbQuestions > 0 %} {{ 'compose' | trans }} {% endif %} {% if isAdmin %} {{ 'docimology' | trans }} {{ 'export CSV of results' | trans }} {% if _resource.published == FALSE %} {{ 'delete papers' | trans }} {% endif %} {% endif %}
    {% if isAdmin == 1 and papers is not empty %} {{ 'searchUserPaper' | trans }} :
            {{ 'reset' | trans }}         {{ 'displayAllList' | trans }}

    {% endif %} {% if nbUserPaper > 0 %}
    {{ 'already_answered' | trans }} {% if retryButton %} :
    {{ 'start again' | trans }}
    {% else %}. {% endif %}
    {% endif %} {% include "UJMExoBundle:Partial:badgeInfos/infos.html.twig" %} {% include "UJMExoBundle:Partial:correction/attemptInfo.html.twig" %}
    ({{ 'paperLegend' | trans }}).
    {% if divResultSearch is defined %} {{ divResultSearch | raw }} {% else %} {% if papers is not empty %} {% include "UJMExoBundle:Partial:paper/list.html.twig" %} {% if pager.haveToPaginate %} {% endif %} {% else %}
    {{ 'noPaperFound'|trans }}
    {% endif %} {% endif %}
    {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}