{% extends "IcapDropzoneBundle::layout.html.twig" %} {% if (byUserMod is not defined) %} {% set byUserMod = 0 %} {% endif %} {% block resourceBreadcrumb %} {% if byUserMod == 1 %}
  • {{ dropzone.resourceNode.name }}
  • {% else %}
  • {{ dropzone.resourceNode.name }}
  • {{ 'List of copies'|trans({}, 'icap_dropzone') }}
  • {% endif %}
  • {% if byUserMod == 1 %} {{ 'Details of your copy'|trans({}, 'icap_dropzone') }} {% else %} {{ 'Retail copy of %firstName% %lastName%'|trans({'%firstName%': drop.user.firstName, '%lastName%': drop.user.lastName}, 'icap_dropzone') }} {% endif %}
  • {% endblock %} {% block dropzone_content %}

    {% if byUserMod == 1 %} {{ 'Details of your copy'|trans({}, 'icap_dropzone') }} {% else %} {{ 'Retail copy of %firstName% %lastName%'|trans({'%firstName%': drop.user.firstName, '%lastName%': drop.user.lastName}, 'icap_dropzone') }} {% endif %}

    {% if(byUserMod == 0) %}

    {{ macros.flashBox() }} {% if drop.reported %}
    {{ 'This copy has been reported'|trans({}, 'icap_dropzone') }}
    {% endif %} {% endif %} {% set documentListText = 'Documents'|trans({}, 'icap_dropzone') %} {{ dropzoneMacros.displayDocumentsList(drop, dropzone, 6, "condensed", documentListText) }}
    {{ 'Learner'|trans({}, 'icap_dropzone') }}
    {{ drop.user.firstName }} {{ drop.user.lastName }}
    {{ 'Number of validated corrections'|trans({}, 'icap_dropzone') }}
    {% include 'IcapDropzoneBundle:Drop:dropsNbCorrections.html.twig' %} {% if drop.unlockedDrop %} {% if drop.unlockedDrop %} {% endif %} {% endif %}
    {% if byUserMod == 0 or showCorrections or dropzone.displayNotationToLearners %}
    {{ 'Average validated corrections'|trans({}, 'icap_dropzone') }}
    {% include 'IcapDropzoneBundle:Drop:dropsTotalGrade.html.twig' %}
    {% endif %}
    {# showCorrection is set in controller if drop is finished and have expected corrections and the author have done the expected number of correction #} {% if byUserMod == 0 or showCorrections %}

    {{ 'List of corrections'|trans({}, 'icap_dropzone') }}

    {% if isAllowedToEdit %} {{ "Add a correction"|trans({},'icap_dropzone') }} {% if dropzone.peerReview %} {{ 'Recalculate the score'|trans({}, 'icap_dropzone') }} {% endif %} {% endif %}
    {% set corrections = drop.corrections %} {% include 'IcapDropzoneBundle:Correction:Listing/correctionListing.html.twig' %} {% endif %} {% if byUserMod == 1 %} {{ "Return"|trans({},'icap_dropzone') }} {% endif %}
    {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}