You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
966 B

{% extends 'base.html.twig' %}
{% block breadcrumb %}
<li class="breadcrumb-item"><a href="{{ path('app_project') }}">Projets</a></li>
{% endblock %}
{% block page_title %}Projets{% endblock %}
{% block page_content %}
<div class="row">
<div class="col mb-3">
<a href="{{ path('app_project_create') }}" class="btn btn-primary">Créer un projet</a>
</div>
</div>
{% if projects is not empty %}
<div class="row">
{% for project in projects %}
<div class="col col-md-4 mb-3">
<div class="card h-100">
<div class="card-body">
<h2 class="card-title">{{ project.name }}</h2>
{% if project.description %}<p class="card-text">{{ project.description|markdown_to_html }}</p>{% endif %}
<a href="{{ path('app_project_show', {'slug': project.slug}) }}" class="btn btn-primary">Voir</a>
</div>
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% endblock %}