{% extends 'admin_base.html.twig' %} {% block body %}

Les Cours

+ Nouveau
{% for a in courses %} {% endfor %}
Image Titre Vues Niveau Date de Créattion Publié? Publié Par Action
{% if a.file_name %} contact-img {% else %} contact-img {% endif %} {{ a.getTitle() }} {{ a.getViews() }} {{ a.isGlobal() ? "Global" : a.getLevel().getName() }} {{ a.getCreatedAt()|date("d/m/Y") }} {{ a.isEnabled() ? "Oui" :"Non" }} {{a.getUser() ? a.getUser().getName() : "" }} {% if a.getGroupe().getId()==3 %} {% else %} {% endif %} {% if app.user.getSgToken()==a.getUser().getSgToken() or app.user.isAdmin() %} {% endif %} {% if a.getGroupe().getId()==3 %} {% endif %}
{% endblock %}