Project

General

Profile

« Previous | Next » 

Revision d6645027

Added by Jérôme Schneider almost 12 years ago

dossiers: remove patient firstname and lastname and show comment just
one time

View differences:

calebasse/dossiers/templates/dossiers/patientrecord_tab3_contact.html
{{ contact.email }}
</li>
{% endif %}
{% if contact.job %}
{% if contact.contact_comment and contact.id != object.id %}
<li>
<label>Profession :</label>
{{ contact.job }}
<label>Commentaire :</label>
{{ contact.contact_comment }}
</li>
{% endif %}
{% if contact.contact_comment %}
{% if contact.job %}
<li>
<label>Commentaire :</label>
{{ contact.contact_comment }}
<label>Profession :</label>
{{ contact.job }}
</li>
{% endif %}
<span class="social-security-contact">
<label class="social-security-label">Infos d'assuré [+]</label>
<ul>
{% if contact.id == object.id %}
{{ object.first_name }} <span class="lastname">{{ object.last_name }}</span>
{% endif %}
{% if contact.social_security_id %}
<li><label>Numéro d'assuré social :</label>
{{ contact.social_security_id }} {{ contact.get_control_key }}</li>

Also available in: Unified diff