{% extends "ProjectAppBundle::layout.html.twig" %}

{% block content %}
    <h2>Promotions</h2>

    <div class="bloc-top">
      <a class="btn btn-second" href="{{ path('promotion_new') }}">Ajouter une promotion</a>
    </div>

    <div class="panel-group">
	{% if promotions is empty %}
	<div class="panel-item">
	  <div class="panel-content">
	    Aucune promotion n'est actuellement disponible.
	  </div>
	</div>
	{% else %}
	{% for promotion in promotions %}
	<div class="panel-item">
	  <div class="panel-content">
	    <div class="panel-header">
	      <h3 class="pull-left">{{ promotion.startDate|date('Y') }} - {{ promotion.endDate|date('Y') }}</h3>
	    </div>
	    <div class="panel-content">
	      Formation : {{ promotion.formation.name }}
	      <div class="pull-right">
		<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Gérer</a>
		<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Archiver</a>
	      </div>
	    </div>
	  </div>
	</div>
	{% endfor %}
	{% endif %}
    </div>

    <div class="bloc-bottom">
      <a class="btn btn-second" href="{{ path('promotion_new') }}">Ajouter une promotion</a>
    </div>
{% endblock %}

{% extends "ProjectAppBundle::layout.html.twig" %}

{% block content %}
    <div class="bloc-top">
      <a class="btn btn-second" href="{{ path('promotion_new') }}">Ajouter une promotion</a>
    </div>

    <div class="panel-group">
	{% if promotions is empty %}
	<div class="panel-item">
	  <div class="panel-content">
	    Aucune promotion n'est actuellement disponible.
	  </div>
	</div>
	{% else %}
	{% for promotion in promotions %}
	<div class="panel-item">
	  <div class="panel-content">
	    <div class="panel-header">
	      <h3 class="pull-left">{{ promotion.startDate|date('Y') }} - {{ promotion.endDate|date('Y') }}</h3>
	    </div>
	    <div class="panel-content">
	      Formation : {{ promotion.formation.name }}
	      <div class="pull-right">
		<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Gérer</a>
		<a class="btn btn-second" href="{{ path('promotion_show', { 'id': promotion.id }) }}">Archiver</a>
	      </div>
	    </div>
	  </div>
	</div>
	{% endfor %}
	{% endif %}
    </div>
{% endblock %}

Fix promotion template to fit with wireframes
Fix promotion template to fit with wireframes
