1
0
forked from ScoDoc/ScoDoc
ScoDoc-Front/app/templates/entreprises/nav.j2

29 lines
1.6 KiB
Plaintext
Raw Normal View History

{# -*- mode: jinja-html -*- #}
2022-07-06 20:37:20 +02:00
<div class="container">
<nav class="nav_entreprise">
2022-07-06 20:37:20 +02:00
<ul>
<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>
2022-07-06 20:37:20 +02:00
{% if current_user.has_permission(current_user.Permission.RelationsEntreprisesCorrespondants, None) %}
<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 %}
<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>
2022-07-06 20:37:20 +02:00
{% if current_user.has_permission(current_user.Permission.RelationsEntreprisesValidate, None) %}
<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>