toulouse-2022: [parsifal] correct edit_url block (#80764) #377
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/80764-fix-enfant-agenda.html"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Avec #80567, j'ai introduis un bug sur la cellule, qui est aussi utilisée sur Caluire-et-Cuire.
Bug visible sur cette page sur le lien affiché par le bouton "Modifier Agenda".
https://agents-parsifal.test.entrouvert.org/foyer/150656/page-enfant/151382/?family_id=150656
La première cellule utilise le template de parsifal, et la seconde le template générique, comme à Caluire-et-cuire
(parce que j'ai oublié de reporter la correction sur cette cellule).
@ -1,3 +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 %}>
{% 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 %}"
Il y a un double quote en trop à la fin de la ligne.
92e96a6cc5
toca21dec389