1
0
forked from ScoDoc/ScoDoc
ScoDoc/app/templates/entreprises/_contact.html

22 lines
833 B
HTML
Raw 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>
Téléphone : {{ contact.telephone }}<br>
Mail : {{ contact.mail }}<br>
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>