Bug #44954
[Solis] Gérer le cas où le l'individu n'a pas de centre autonomie
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
08 juillet 2020
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Dans ./templates/combo/json/apa-contact.html
Actuellement :
{# included by other cells, with individu=... and optionnaly dossier=... #} <h2>Votre contact APA</h2> <p class="centre-autonomie"><strong>{{ individu.apa.centreAutonomie }}</strong></p> {% with inst=dossier.suivi.instructeur %} {% if inst %} ... {% endif %} {% endwith %}
Et ce pourrait être :
... <p class="centre-autonomie"><strong>{{ individu.apa.centreAutonomie|default:"Aucun" }}</strong></p> ...
Fichiers
Révisions associées
Historique
Mis à jour par Mikaël Ates (de retour le 29 avril) il y a presque 4 ans
- Description mis à jour (diff)
Mis à jour par Thomas Noël il y a presque 4 ans
- Fichier 0001-apa-show-a-default-if-no-apa.centreAutonomie-44954.patch 0001-apa-show-a-default-if-no-apa.centreAutonomie-44954.patch ajouté
- Tracker changé de Support à Bug
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Nicolas Roche il y a presque 4 ans
- Statut changé de Solution proposée à Solution validée
(je n'ai pas trouvé comment activer les cellule JSON concernées localement)
Mis à jour par Thomas Noël il y a presque 4 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 8b5dff79879a63f1fd8ff4dab9f35c62d15cc1ea Author: Thomas NOËL <tnoel@entrouvert.com> Date: Wed Jul 8 23:31:16 2020 +0200 apa: show a default if no apa.centreAutonomie (#44954)
Mis à jour par Frédéric Péters il y a presque 4 ans
- Statut changé de Résolu (à déployer) à Solution déployée
apa: show a default if no apa.centreAutonomie (#44954)