{%extends 'layout.html.twig' %} {% block stylesheets %} {{parent()}} {% endblock %} {% block body %} {{ parent() }}
VISTO | {% endif %}ICONO | NOMBRE | FORMATO | {% if app.user.role == "ROLE_TUTOR" or app.user.role =="ROLE_ADMIN" %}PÚBLICO | {% endif %}ACCIONES | {% if app.user.role == "ROLE_ADMIN" or app.user.role == "ROLE_TUTOR" %}POSICIÓN | {% endif %}
---|---|---|---|---|---|---|
{% endif %} | {% if document.type == "DOCUMENTO" %} {% set ext = document.extension|lower %} {% if ext == "jpeg" or ext == "png" %} {% set ext = "jpg" %} {% endif %} {% if ext == "rar"%} {% set ext = "zip" %} {% endif %} {% if ext == "avi" or ext == "css" or ext == "doc" or ext == "docx" or ext == "eps" or ext == "jpg" or ext == "mp3" or ext == "mp4" or ext == "pdf" or ext == "ppt" or ext == "psd" or ext == "txt" or ext == "wav" or ext == "xls" or ext == "zip" %} {% else %} {% endif %} {% else %} {% endif %} | {% if document.type == "DOCUMENTO" %} {{document.name}} {% else %} {{document.name}} {% endif %} | {% if document.type == "DOCUMENTO" %} {{document.extension}} {% else %} url {% endif %} | {% if app.user.role == "ROLE_TUTOR" or app.user.role =="ROLE_ADMIN" %}
{% if document.public %}
OCULTAR
{% else %}
PUBLICAR
{% endif %}
|
{% endif %}
{% if app.user.role != "ROLE_USER" %} {% if document.type == "DOCUMENTO" %} {# #} {% endif %} {% if dc.trinder.competition.beginAt|date("Y-m-d") > "now"|date("Y-m-d") or app.user.role == "ROLE_ADMIN" %} {% endif %} {% else %} {% if document.type == "DOCUMENTO" %} {# #} {% endif %} {% endif %} | {% if app.user.role == "ROLE_ADMIN" or app.user.role == "ROLE_TUTOR" %}
|
{% endif %}
NOMBRE | DESCRIPCIÓN | CONTENIDO | |
---|---|---|---|
{{um.mision.name}} | {{um.mision.description}} | {% if um.completed %}Ver | {% else %}? | {% endif %}