toulouse-2022: extend agenda to pass person_id to wcs form (#80567) #373
|
@ -12,7 +12,7 @@
|
|||
{% if day.weekday == 0 %}
|
||||
{% with sunday=day|add_days:6 %}
|
||||
<div class="{{ cell_prefix }}-agenda-cell--week-title {% if current_week == day|date:"WY" %}current{% endif %}"
|
||||
data-edit-url="{{ eservices_url }}{{ form_url }}{% if not is_portal_agent %}tryauth{% endif %}?child_id={{ child_id }}{% if is_portal_agent %}&family_id={{ foyer_id }}{% endif %}&reference_year={{ first_monday.year }}¤t={{ day|adjust_to_week_monday|date:"Y-m-d" }}">
|
||||
data-edit-url={% block edit_url %}<"{{ eservices_url }}{{ form_url }}{% if not is_portal_agent %}tryauth{% endif %}?child_id={{ child_id }}{% if is_portal_agent %}&family_id={{ foyer_id }}{% endif %}&reference_year={{ first_monday.year }}¤t={{ day|adjust_to_week_monday|date:"Y-m-d" }}"{% endblock edit_url %}>
|
||||
Du {{ day|date:"d/m" }} au {{ sunday|date:"d/m" }}
|
||||
</div>
|
||||
{% endwith %}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{% extends "combo/json/enfant-agenda.html" %}
|
||||
|
||||
{% block edit_url %}<"{{ eservices_url }}{{ form_url }}{% if not is_portal_agent %}tryauth{% endif %}?person_id={{ person_id }}{% if is_portal_agent %}&family_id={{ foyer_id }}{% endif %}&reference_year={{ first_monday.year }}¤t={{ day|adjust_to_week_monday|date:"Y-m-d" }}"{% endblock edit_url %}>
|
|
@ -1 +1 @@
|
|||
{% include "combo/json/enfant-agenda.html" with form_url=parameters.form_url cell_prefix="toulouse-maelis" %}
|
||||
{% include "combo/json/toulouse-maelis-enfant-agenda-extended.html" with form_url=parameters.form_url cell_prefix="toulouse-maelis" %}
|
||||
|
|
Loading…
Reference in New Issue