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 ...@@ -82,7 +82,7 @@ final class ConnexionAction
'page' => 'dashboard-admin' 'page' => 'dashboard-admin'
]); ]);
} else { } else {
$this->view->render($response, 'dashboard.twig', [ $this->view->render($response, 'dashboard_home.twig', [
'page' => 'dashboard', 'page' => 'dashboard',
'participant' => $participant 'participant' => $participant
]); ]);
......
...@@ -20,22 +20,6 @@ ...@@ -20,22 +20,6 @@
</li> </li>
</ul> </ul>
</nav> </nav>
<div class="content-dashboard"> {% block content_dashboard %}{% endblock %}
<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>
</div> </div>
{% endblock %} {% 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
Markdown is supported
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