Revision 54e68a06
Added by Frédéric Péters about 12 years ago
calebasse/agenda/templates/agenda/ajax-worker-tab.html | ||
---|---|---|
59 | 59 |
{% if appointment.patient_record_id %} |
60 | 60 |
<p class="phones"> |
61 | 61 |
{% for address in appointment.patient.addresses.all %} |
62 |
{% if address.place_of_life %} |
|
62 |
{% if address.place_of_life and address.phone %}
|
|
63 | 63 |
<span title="{{ address.number }} {{ address.street }} {{ address.zip_code }} {{ address.city }}" class="icon-home-space">{{ address.phone }}</span> |
64 | 64 |
{% for contact in address.patientcontact_set.all %} |
65 | 65 |
<span title="{{ contact.first_name }} {{ contact.last_name|upper }}" class="icon-user-space">{{ contact.mobile }}</span> |
calebasse/agenda/templates/agenda/ressources.html | ||
---|---|---|
102 | 102 |
{% if appointment.patient_record_id %} |
103 | 103 |
<p class="phones"> |
104 | 104 |
{% for address in appointment.patient.addresses.all %} |
105 |
{% if address.place_of_life %} |
|
105 |
{% if address.place_of_life and address.phone %}
|
|
106 | 106 |
<span title="{{ address.number }} {{ address.street }} {{ address.zip_code }} {{ address.city }}" class="icon-home-space">{{ address.phone }}</span> |
107 | 107 |
{% for contact in address.patientcontact_set.all %} |
108 | 108 |
<span title="{{ contact.first_name }} {{ contact.last_name|upper }}" class="icon-user-space">{{ contact.mobile }}</span> |
Also available in: Unified diff
agenda: only display line with phone number if there is one