rdv: pages by User

This commit is contained in:
nobohan
2021-08-23 09:11:08 +02:00
parent 406426111a
commit 74957154b1
13 changed files with 127 additions and 46 deletions

View File

@@ -48,15 +48,17 @@
{{ form_row(form.sendSMS) }}
{% endif %}
<div id="calendarControls"></div>
<div id="fullCalendar"></div>
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
<a
class="btn btn-cancel"
{%- if context == 'person' -%}
href="{{ chill_return_path_or('chill_calendar_calendar', { 'person_id': person.id } )}}"
{%- else -%}
{%- if context == 'user' -%}
href="{{ chill_return_path_or('chill_calendar_calendar', { 'user_id': user.id } )}}"
{%- elseif context == 'accompanyingCourse' -%}
href="{{ chill_return_path_or('chill_calendar_calendar', { 'accompanying_period_id': accompanyingCourse.id } )}}"
{%- endif -%}
>