Fix templates filenames

This commit is contained in:
Emmanuel Viennet 2023-02-20 14:59:13 +01:00
parent da4def790c
commit f99795edc9
7 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}
{% include 'entreprises/nav.html' %} {% include 'entreprises/nav.j2' %}
{% if logs %} {% if logs %}
<div class="container"> <div class="container">

View File

@ -9,7 +9,7 @@
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}
{% include 'entreprises/nav.html' %} {% include 'entreprises/nav.j2' %}
{% if logs %} {% if logs %}
<div class="container"> <div class="container">

View File

@ -9,7 +9,7 @@
{% endblock %} {% endblock %}
{% block app_content %} {% block app_content %}
{% include 'entreprises/nav.html' %} {% include 'entreprises/nav.j2' %}
{% if logs %} {% if logs %}
<div class="container"> <div class="container">

View File

@ -134,7 +134,7 @@
{% endif %} {% endif %}
{% if current_user.has_permission(current_user.Permission.RelationsEntreprisesCorrespondants, None) %} {% if current_user.has_permission(current_user.Permission.RelationsEntreprisesCorrespondants, None) %}
{% for correspondant in site.correspondants %} {% for correspondant in site.correspondants %}
{% include 'entreprises/_correspondant.html' %} {% include 'entreprises/_correspondant.j2' %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div> </div>
@ -147,7 +147,7 @@
<h3>Offres - <a href="{{ url_for('entreprises.offres_expirees', entreprise_id=entreprise.id) }}">Voir les <h3>Offres - <a href="{{ url_for('entreprises.offres_expirees', entreprise_id=entreprise.id) }}">Voir les
offres expirées</a></h3> offres expirées</a></h3>
{% for offre, files, offre_depts, correspondant in offres %} {% for offre, files, offre_depts, correspondant in offres %}
{% include 'entreprises/_offre.html' %} {% include 'entreprises/_offre.j2' %}
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}

View File

@ -21,7 +21,7 @@
<h1>Offres expirées - {{ entreprise.nom }}</h1> <h1>Offres expirées - {{ entreprise.nom }}</h1>
{% if offres_expirees %} {% if offres_expirees %}
{% for offre, files, offre_depts, correspondant in offres_expirees %} {% for offre, files, offre_depts, correspondant in offres_expirees %}
{% include 'entreprises/_offre.html' %} {% include 'entreprises/_offre.j2' %}
{% endfor %} {% endfor %}
{% else %} {% else %}
<div>Aucune offre expirées</div> <div>Aucune offre expirées</div>

View File

@ -2,7 +2,7 @@
{% extends 'base.j2' %} {% extends 'base.j2' %}
{% block app_content %} {% block app_content %}
{% include 'entreprises/nav.html' %} {% include 'entreprises/nav.j2' %}
<div class="container"> <div class="container">
<h1>Offres reçues</h1> <h1>Offres reçues</h1>

View File

@ -3,7 +3,7 @@
{% import 'bootstrap/wtf.html' as wtf %} {% import 'bootstrap/wtf.html' as wtf %}
{% block app_content %} {% block app_content %}
{% include 'entreprises/nav.html' %} {% include 'entreprises/nav.j2' %}
<div class="container"> <div class="container">
<h1>Préférences module gestion entreprises</h1> <h1>Préférences module gestion entreprises</h1>