Revision b84e2e49
Added by Frédéric Péters about 13 years ago
| calebasse/agenda/appointments.py | ||
|---|---|---|
|
event_act = occurrence.event.eventact
|
||
|
workers = event_act.participants.all()
|
||
|
self.convocation_sent = event_act.convocation_sent
|
||
|
self.patient = event_act.patient
|
||
|
self.patient_record_id = event_act.patient.id
|
||
|
self.patient_record_paper_id = event_act.patient.paper_id
|
||
|
self.workers_initial = ""
|
||
| calebasse/agenda/templates/agenda/index.html | ||
|---|---|---|
|
</div>
|
||
|
{% endif %}
|
||
|
{% if appointment.patient_record_id %}
|
||
|
<p class="phones">Téléphone(s) :
|
||
|
{% for address in appointment.patient.addresses.all %}
|
||
|
{% if address.place_of_life %}
|
||
|
<span title="{{ address.number }} {{ address.street }}" class="icon-home-space">{{ address.phone }}</span>
|
||
|
{% for contact in address.patientcontact_set.all %}
|
||
|
<span title="{{ contact.first_name }} {{ contact.last_name|upper }}" class="icon-user-space">{{ contact.mobile }}</span>
|
||
|
{% endfor %}
|
||
|
{% endif %}
|
||
|
{% endfor %}
|
||
|
</p>
|
||
|
<a href="/{{ service }}/dossiers/{{ appointment.patient_record_id }}/view" target="_blank">Dossier patient</a> -
|
||
|
<a href="/{{ service }}/dossiers/{{ appointment.patient_record_id }}/view#tab=5" target="_blank">Prochains rendez-vous</a> -
|
||
|
<a href="#">Convoquer patient</a>
|
||
| calebasse/static/css/style.css | ||
|---|---|---|
|
font-size: 80%;
|
||
|
}
|
||
|
|
||
|
div.agenda p.phones {
|
||
|
margin: 10px 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
div.agenda p.phones span {
|
||
|
padding: 0 1ex;
|
||
|
cursor: help;
|
||
|
}
|
||
|
|
||
|
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||
|
font-family: FontAwesome;
|
||
|
font-weight: normal;
|
||
| ... | ... | |
|
.icon-minus:before { content: "\f068"; }
|
||
|
.icon-envelope:before { content: "\f003"; }
|
||
|
.icon-comment:before { content: "\f075"; }
|
||
|
.icon-home-space:before { content: "\f015 "; }
|
||
|
.icon-user-space:before { content: "\f007 "; }
|
||
Also available in: Unified diff
agenda: display phone numbers in appointments (#2169)