{% extends 'members/member/dashboard.html.twig' %} {% block style %} {{ parent() }} {% endblock %} {% block stylesheets %} .list { width: 100%; height: 300px; margin-bottom: 50px; } .list_header { display: flex; flex-direction: row; height: 30px; width: 100%; margin-bottom: 10px; } .list_header_title, .list_header_label { height: 100%; } .list_header_title { background-color: #ebac4b; flex: 4; border-right: 1px solid; margin-right: 2px; display: flex; flex-direction: row; align-items: center; } .list_header_title h3 { margin-left: 20px; } .list_header_label { flex: 1; margin-left: 2px; display: flex; flex-direction: row; align-items: center; width: 100%; height: 100%; } .list_header_label h3 { margin-left: 20px; } .list_body { display: flex; flex-direction: row; width: 100%; height: 90%; } .list_body_poster, .list_body_description { height: 100%; } .list_body_poster { height: 100%; width:100%; } .list_body_poster img { height: 100%; width:100%; } .list_body_description { height: 100%; width: 50%; margin-left: 20px; } {{ parent() }} {% endblock %} {% block breadcrumb %} {{ parent() }} > mes campagnes {% endblock %} {% block tab_bar %} {{ parent() }} {% endblock %} {% block member_content %}

mes campagnes

{# "{{ path('master_campaign_new', {'id': app.user.id}) }}" #} {% if campaigns | length == 0 %}

Vous n'avez actuellement aucune campagne en cours.

{% else %} {% for campaign in campaigns %}
{% if campaign.isAvailable == true %}

disponible

{% else %}

indisponible

{% endif %}
{{ campaign.name }}

{{ campaign.description }}

{% endfor %} {% endif %} {#
campaign

{{ campaign.name }}

{% if campaign.isAvailable == true %} {% else %} {% endif %}

{{ campaign.description }}

#} {% endblock %} {% block javascript %} {{ parent() }} {% endblock %}