|
@@ -54,11 +54,49 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+</div>
|
|
|
+
|
|
|
+<div class="box is-clearfix">
|
|
|
+ <div class="columns">
|
|
|
+ {% if not event.isHiddenPlanning %}
|
|
|
+ <div class="column">
|
|
|
+ <p>{{ event.getParties()|length }} parties proposées</p>
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+ <div class="column">
|
|
|
+ <p class="is-inline-block icon-text">{{ event.getGamemastersAssigned|length }} meneur(euse)s de jeu
|
|
|
+ {% for gamemaster in event.getGamemastersAssigned %}
|
|
|
+ <span class="icon">
|
|
|
+ <a href="#" class="open-modal"><figure class="image is-24x24 is-inline-block">
|
|
|
+ {% if gamemaster.picture %}
|
|
|
+ <img class="is-rounded" src="/images/gamemasters/{{ gamemaster.picture }}" />
|
|
|
+ {% else %}
|
|
|
+ <twig:ux:icon name="bi:person-fill"/>
|
|
|
+ {% endif %}
|
|
|
+ </figure></a>
|
|
|
+ </span>
|
|
|
+ {% endfor %}
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ {% if event.isEveryoneCanAskForGame %}
|
|
|
+ <div class="column">
|
|
|
+ <a href="#" class="button is-primary open-modal">Demander une partie</a>
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
{% if not event.isHiddenPlanning %}
|
|
|
<section>
|
|
|
<hr />
|
|
|
+ {% if is_granted('ROLE_STAFF') %}
|
|
|
+ <div class="block">
|
|
|
+ <p class="icon-text">MJ, cliquez sur un <span class="icon"><twig:ux:icon name="bi:plus-circle"/></span> pour ajouter une partie</p>
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+
|
|
|
<div id="planning">
|
|
|
{{ component('Planning', {event: event,pathFullSlot: 'app_party_view'}) }}
|
|
|
</div>
|