Projet

Général

Profil

« Précédent | Suivant » 

Révision 4c00b570

Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 10 ans

agenda: don't display mobile in resources listing if not present for the patientrecord

Closes #5087

Voir les différences:

calebasse/agenda/templates/agenda/ajax-ressource-tab.html
70 70
      {% if address.place_of_life and address.phone %}
71 71
      <span title="{{ address.number }} {{ address.street }} {{ address.zip_code }} {{ address.city }}" class="icon-home-space">{{ address.phone }}</span>
72 72
      {% for contact in address.patientcontact_set.all  %}
73
      <span title="{{ contact.first_name }} {{ contact.last_name|upper }}" class="icon-user-space">{{ contact.mobile }}</span>
73
        {% if contact.mobile %}
74
          <span title="{{ contact.first_name }} {{ contact.last_name|upper }}" class="icon-user-space">{{ contact.mobile }}</span>
75
        {% endif %}
74 76
      {% endfor %}
75 77
      {% endif %}
76 78
      {% endfor %}

Formats disponibles : Unified diff