ScoDocMM/app/templates/entreprises/_contact.html

26 lines
938 B
HTML
Raw Permalink Normal View History

2021-12-29 14:41:33 +01:00
{# -*- mode: jinja-html -*- #}
2022-01-31 20:09:49 +01:00
<div class="contact">
2022-02-01 18:35:48 +01:00
<div>
2021-12-23 19:28:25 +01:00
Nom : {{ contact.nom }}<br>
Prénom : {{ contact.prenom }}<br>
2022-02-07 17:06:00 +01:00
{% if contact.telephone %}
2021-12-23 19:28:25 +01:00
Téléphone : {{ contact.telephone }}<br>
2022-02-07 17:06:00 +01:00
{% endif %}
{% if contact.mail %}
2021-12-23 19:28:25 +01:00
Mail : {{ contact.mail }}<br>
2022-02-07 17:06:00 +01:00
{% endif %}
2021-12-29 19:40:57 +01:00
{% if contact.poste %}
Poste : {{ contact.poste }}<br>
{% endif %}
{% if contact.service %}
Service : {{ contact.service }}<br>
{% endif %}
2022-02-01 18:35:48 +01:00
</div>
2021-12-23 19:28:25 +01:00
{% if current_user.has_permission(current_user.Permission.RelationsEntreprisesChange, None) %}
2022-01-31 20:09:49 +01:00
<div class="parent-btn">
2021-12-23 19:28:25 +01:00
<a class="btn btn-primary" href="{{ url_for('entreprises.edit_contact', id=contact.id) }}">Modifier contact</a>
<a class="btn btn-danger" href="{{ url_for('entreprises.delete_contact', id=contact.id) }}">Supprimer contact</a>
</div>
{% endif %}
2021-12-23 19:28:25 +01:00
</div>