{% extends 'admin/layout.html.twig' %} {% block title %}Administration site Internet - EDIFIA WEB{% endblock %} {% block content %} {% autoescape false %}
{{ 'question.label.id'|trans({}, 'admin') }} | {{ 'question.label.wording'|trans({}, 'admin') }} | {{ 'question.label.complete'|trans({}, 'admin') }} | {{ 'question.label.is_validated'|trans({}, 'admin') }} | {{ 'question.label.is_moderated'|trans({}, 'admin') }} | {{ 'question.label.contestation'|trans({}, 'admin') }} | {{ 'question.label.actions'|trans({}, 'admin') }} |
---|---|---|---|---|---|---|
{{ question.id }} | {{ question.wording }} | {{ (question.isComplete == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ ' ' }} | {{ (question.isValidated == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ (question.isModerated == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ question.contestations|length }} {% if question.contestations|length > 0 %} {{ 'button.list'|trans({}) }} {% endif %} | {% if is_granted('ROLE_ADMIN') %} {{ 'button.edit'|trans({}) }} {% endif %} {% if question.user.id != app.user.id and question.isComplete == true and question.isToCorrect == false and question.countMyModerations == 0 %} {{ 'button.moderate'|trans({}) }} {% endif %} |
{{ 'contestation.label.wording'|trans({}, 'admin') }} | {{ 'contestation.label.comment'|trans({}, 'admin') }} | {{ 'contestation.label.validated'|trans({}, 'admin') }} | {{ 'contestation.label.processed'|trans({}, 'admin') }} | {{ 'contestation.label.active'|trans({}, 'admin') }} | {{ 'contestation.label.actions'|trans({}, 'admin') }} |
---|---|---|---|---|---|
{{ contestation.question.wording }} | {{ contestation.comment }} | {{ (contestation.isValidated == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ (contestation.processed == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ (contestation.isActive == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ 'button.moderate'|trans({}) }} |
{{ 'comment.label.post'|trans({}, 'admin') }} | {{ 'comment.label.created_at'|trans({}, 'admin') }} |
---|---|
{{ like.post.title }}
{% if like.post.content is not empty %}
{{ like.post.content }} {% endif %} |
{{ like.createdAt|date('d/m/Y H:i') }} |
{{ 'comment.label.post'|trans({}, 'admin') }} | {{ 'comment.label.comment'|trans({}, 'admin') }} | {{ 'comment.label.is_reported'|trans({}, 'admin') }} | {{ 'comment.label.is_moderated'|trans({}, 'admin') }} | {{ 'comment.label.created_at'|trans({}, 'admin') }} |
---|---|---|---|---|
{{ comment.question.wording }}
{% if comment.question.help is not empty %}
{{ comment.question.help }} {% endif %} |
{{ comment.comment }} | {{ (comment.isReported == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ (comment.isModerated == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ comment.createdAt|date('d/m/Y H:i') }} |
{{ 'comment.label.post'|trans({}, 'admin') }} | {{ 'comment.label.comment'|trans({}, 'admin') }} | {{ 'comment.label.is_reported'|trans({}, 'admin') }} | {{ 'comment.label.is_moderated'|trans({}, 'admin') }} | {{ 'comment.label.created_at'|trans({}, 'admin') }} |
---|---|---|---|---|
{{ comment.quiz.name }} | {{ comment.comment }} | {{ (comment.isReported == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ (comment.isModerated == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ comment.createdAt|date('d/m/Y H:i') }} |
{{ 'comment.label.post'|trans({}, 'admin') }} | {{ 'comment.label.comment'|trans({}, 'admin') }} | {{ 'comment.label.is_reported'|trans({}, 'admin') }} | {{ 'comment.label.is_moderated'|trans({}, 'admin') }} | {{ 'comment.label.created_at'|trans({}, 'admin') }} |
---|---|---|---|---|
{{ comment.post.title }}
{% if comment.post.content is not empty %}
{{ comment.post.content }} {% endif %} |
{{ comment.comment }} | {{ (comment.isReported == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ (comment.isModerated == true) ? '' ~ 'yes'|trans ~ '' : '' ~ 'no'|trans ~ '' }} | {{ comment.createdAt|date('d/m/Y H:i') }} |