2022-02-02 19:13:50 +01:00
|
|
|
{# -*- mode: jinja-html -*- #}
|
2022-07-06 20:37:20 +02:00
|
|
|
<div class="container">
|
2022-07-08 18:56:27 +02:00
|
|
|
<nav class="nav_entreprise">
|
2022-07-06 20:37:20 +02:00
|
|
|
<ul>
|
2022-07-08 18:56:27 +02:00
|
|
|
<li class="nav_entreprise_item">
|
|
|
|
<a href="{{ url_for('entreprises.index') }}" class="nav_entreprise_link {% if title=='Entreprises' %}nav_entreprise_link-active{% endif %}">Entreprises</a>
|
|
|
|
</li>
|
|
|
|
|
2023-09-29 21:17:31 +02:00
|
|
|
{% if current_user.has_permission(current_user.Permission.RelationsEntrepViewCorrs, None) %}
|
2022-07-08 18:56:27 +02:00
|
|
|
<li class="nav_entreprise_item">
|
|
|
|
<a href="{{ url_for('entreprises.correspondants') }}" class="nav_entreprise_link {% if title=='Correspondants' %}nav_entreprise_link-active{% endif %}">Correspondants</a>
|
|
|
|
</li>
|
2022-07-06 20:37:20 +02:00
|
|
|
{% endif %}
|
2022-07-08 18:56:27 +02:00
|
|
|
|
|
|
|
<li class="nav_entreprise_item">
|
|
|
|
<a href="{{ url_for('entreprises.offres_recues') }}" class="nav_entreprise_link {% if title=='Offres reçues' %}nav_entreprise_link-active{% endif %}">Offres reçues</a>
|
|
|
|
</li>
|
|
|
|
|
2023-09-29 21:17:31 +02:00
|
|
|
{% if current_user.has_permission(current_user.Permission.RelationsEntrepValidate, None) %}
|
2022-07-08 18:56:27 +02:00
|
|
|
<li class="nav_entreprise_item">
|
|
|
|
<a href="{{ url_for('entreprises.validation') }}" class="nav_entreprise_link {% if title=='Validation entreprises' %}nav_entreprise_link-active{% endif %}">Entreprises à valider</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav_entreprise_item">
|
|
|
|
<a href="{{ url_for('entreprises.preferences') }}" class="nav_entreprise_link {% if title=='Préférences' %}nav_entreprise_link-active{% endif %}">Préférences</a>
|
|
|
|
</li>
|
2022-07-06 20:37:20 +02:00
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|