Commit 806d2957 authored by François Agneray's avatar François Agneray
Browse files

base dashboard

parent e8b84702
......@@ -82,7 +82,7 @@ final class ConnexionAction
'page' => 'dashboard-admin'
]);
} else {
$this->view->render($response, 'dashboard.twig', [
$this->view->render($response, 'dashboard_home.twig', [
'page' => 'dashboard',
'participant' => $participant
]);
......
......@@ -20,22 +20,6 @@
</li>
</ul>
</nav>
<div class="content-dashboard">
<div id="home">
<h2 class="text-center">Dashboard</h2>
<hr>
<p>Bienvenue dans votre espace participant</p>
<p>- nb places restants / Azur-Colloque</p>
<p>- génerer son badge</p>
<p>Role : {{ participant.getRole() }}</p>
<p>Place prépayée : {{ participant.getPassPrepaye() }}</p>
{% if participant.getPassPrepaye() %}
<p>Pas de paiement</p>
{% else %}
<p>Lien Azur colloque</p>
{% endif %}
</div>
</div>
{% block content_dashboard %}{% endblock %}
</div>
{% endblock %}
{% extends "base_dashboard.twig" %}
{% block content_dashboard %}
<div class="content-dashboard">
<div id="home">
<h2 class="text-center">Dashboard</h2>
<hr>
<p>Bienvenue dans votre espace participant</p>
<p>- nb places restants / Azur-Colloque</p>
<p>- génerer son badge</p>
<p>Role : {{ participant.getRole() }}</p>
<p>Place prépayée : {{ participant.getPassPrepaye() }}</p>
{% if participant.getPassPrepaye() %}
<p>Pas de paiement</p>
{% else %}
<p>Lien Azur colloque</p>
{% endif %}
</div>
</div>
{% endblock %}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment