rdv: change entrypoint for calendar css + correct calendar controls as a function of context

This commit is contained in:
nobohan
2021-08-23 09:36:53 +02:00
parent 68538f0e85
commit 864f84fede
4 changed files with 7 additions and 13 deletions

View File

@@ -48,7 +48,9 @@
{{ form_row(form.sendSMS) }}
{% endif %}
<div id="calendarControls"></div>
{% if context == 'user' %}
<div id="calendarControls"></div>
{% endif %}
<div id="fullCalendar"></div>

View File

@@ -35,6 +35,7 @@
{% block css %}
{{ parent() }}
{{ encore_entry_link_tags('vue_calendar') }}
{{ encore_entry_link_tags('page_calendar') }}
{% endblock %}
{% block block_post_menu %}