Project

General

Profile

« Previous | Next » 

Revision b4e00f60

Added by Mikaël Ates over 13 years ago

agenda: better display of intervenants on act validation page.

View differences:

calebasse/agenda/templates/agenda/act-validation.html
{% for acte, last_status, last_status_name in actes %}
<div class="frame acte" id="acte-frame-{{ acte.id }}">
<h3>{{ acte.date }} - <strong><span class="lastname">{{ acte.patient.last_name }}</span> {{ acte.patient.first_name }}</strong>
{% if acte.patient.paper_id %} {{ acte.patient.paper_id }} {% endif %}({{ acte.patient.id }})
{% if acte.doctors %}{% for doctor in acte.doctors.all %} - <span class="lastname">{{ doctor.last_name }}</span> {{ doctor.first_name }}{% endfor %}{% endif %} -
{% if acte.patient.paper_id %} {{ acte.patient.paper_id }} {% endif %}({{ acte.patient.id }}) -
<strong>{{ acte.act_type }}</strong>
<p>{% if acte.doctors %}{% for doctor in acte.doctors.all %}<span class="lastname">{{ doctor.last_name }}</span> {{ doctor.first_name }} {% endfor %}{% endif %}</p>
{% if acte.description %} <span title="Un commentaire existe" class="icon-comment"></span>{% endif%}
</h3>
<div><span>{% if last_status %}<strong>{{ last_status_name }}</strong>, le {{ last_status.created }} par {{ last_status.author }}
<div>
<span>
{% if last_status %}<strong>{{ last_status_name }}</strong>, le {{ last_status.created }} par {{ last_status.author }}
{% if last_status.auto %}(par validation automatique){% endif %}. {% if acte.is_billed %}<strong>Acte facturé</strong>{% endif %}
{% else %}
Non pointé.

Also available in: Unified diff