Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions backend/gn_module_zh/templates/delimitation.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ <h5 class="subtitle">Critères de délimitation de l'espace de fonctionnalité</
<span class="small-title"><b>Critères utilisés : </b><span><br>
{% for critere in data['delimitation']['delimitation_fonctions']['critere'] %}
<span class="small-title">{{ critere }}</span><br>
{% else %}
<span class="small-title">Non déterminé</span><br>
{% endfor %}
<span class="small-title"><b>Remarques : </b>{{ data['delimitation']['delimitation_fonctions']['remark'] or 'Aucune' }}</span>
</section>
Expand Down
30 changes: 29 additions & 1 deletion backend/gn_module_zh/templates/evaluation.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ <h5 class="subtitle">
<td>{{ fct['qualification'] }}</td>
<td>{{ fct['connaissance'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="4">Fonctions non évaluées ou évaluées trop faiblement.</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand All @@ -42,6 +46,10 @@ <h5 class="subtitle">
<td>{{ fct['qualification'] }}</td>
<td>{{ fct['connaissance'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="4">Fonctions non évaluées ou évaluées trop faiblement.</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand All @@ -64,6 +72,10 @@ <h5 class="subtitle">
<td>{{ interet['qualification'] }}</td>
<td>{{ interet['connaissance'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="4">Valeurs non évaluées ou évaluées trop faiblement.</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand All @@ -80,9 +92,13 @@ <h5 class="subtitle">
<tr>
{% if data['evaluation']['interet']['faunistique'] is not none %}
<td>{{ data['evaluation']['interet']['faunistique'] }}</td>
{% else %}
<td>Non défini</td>
{% endif %}
{% if data['evaluation']['interet']['floristique'] is not none %}
<td>{{ data['evaluation']['interet']['floristique'] }}</td>
{% else %}
<td>Non défini</td>
{% endif %}
</tr>
</tbody>
Expand All @@ -100,9 +116,13 @@ <h5 class="subtitle">
<tr>
{% if data['evaluation']['interet']['nb_hab'] is not none %}
<td>{{ data['evaluation']['interet']['nb_hab'] }}</td>
{% else %}
<td>Non défini</td>
{% endif %}
{% if data['evaluation']['interet']['total_hab_cover'] is not none %}
<td>{{ data['evaluation']['interet']['total_hab_cover'] }}</td>
{% else %}
<td>Non défini</td>
{% endif %}
</tr>
</tbody>
Expand All @@ -126,6 +146,10 @@ <h5 class="subtitle">
<td>{{ socio['qualification'] }}</td>
<td>{{ socio['connaissance'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="4">Valeurs non évaluées ou évaluées trop faiblement.</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down Expand Up @@ -163,7 +187,7 @@ <h5 class="subtitle">
</section>
<section class="content col">
<h5 class="subtitle">
Stratégie de gestion et orientations d'actions
Stratégie de gestion et orientations d'actions
</h5>
<div class="fieldset">
<label>Stratégie de gestion</label>
Expand All @@ -184,6 +208,10 @@ <h5 class="subtitle">
<td>{{ prop['niveau'] }}</td>
<td>{{ prop['remarque'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="3">Non défini</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down
12 changes: 12 additions & 0 deletions backend/gn_module_zh/templates/fonctionnement.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ <h5 class="subtitle">Régime hydrique</h5>
<td>{{ entree['permanence'] }}</td>
<td>{{ entree['toponymie'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="3">Inconnu</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand All @@ -34,12 +38,17 @@ <h5 class="subtitle">Régime hydrique</h5>
<td>{{ sortie['permanence'] }}</td>
<td>{{ sortie['toponymie'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="3">Inconnu</td>
</tr>
{% endfor %}
</tbody>
</table>
</section>
<section class="content">
<h5 class="subtitle">Connexion de la zone humide dans son environnement</h5>
{% if data['fonctionnement']['connexion'] %}
<span class="small-title">
<b>{{ data['fonctionnement']['connexion'] }}</b>
</span>
Expand All @@ -52,5 +61,8 @@ <h5 class="subtitle">Connexion de la zone humide dans son environnement</h5>
"Passe à coté": "passe_a_cote.svg",
} %}
<img src="{{ url_for('pr_zh.static', filename=connexions[data['fonctionnement']['connexion']]) }}">
{% else %}
<span class="small-title">Inconnue</span>
{% endif %}
</section>
</div>
4 changes: 4 additions & 0 deletions backend/gn_module_zh/templates/milieux.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ <h5 class="subtitle">Corine Biotope</h5>
<td>{{ corine['label'] }}</td>
<td>{{ corine['Humidité'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="3">Inconnu</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down
16 changes: 16 additions & 0 deletions backend/gn_module_zh/templates/statuts.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ <h5 class="subtitle">
<td>{{ regime['status'] }}</td>
<td>{{ regime['remarques'] }}</td>
</tr>
{% else %}
<tr>
<td colspan="2">Inconnu</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down Expand Up @@ -48,6 +52,8 @@ <h5 class="subtitle">
{% else %}
<span class="small-title">Aucun plan de gestion renseigné</span><br>
{% endif %}
{% else %}
<span class="small-title">Inconnue</span>
{% endfor %}
</section>
<br>
Expand All @@ -68,6 +74,10 @@ <h5 class="subtitle">
<td>{{ instru['instrument'] }}</td>
<td>{{ instru['date'] or "" }}</td>
</tr>
{% else %}
<tr>
<td colspan="2">Inconnu</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand All @@ -81,6 +91,8 @@ <h5 class="subtitle">
{% for item in status['items'] %}
<span class="small-title">{{ item['status'] }}</span><br>
{% endfor %}
{% else %}
<span class="small-title">Inconnu</span><br>
{% endfor %}
</section>
<br>
Expand Down Expand Up @@ -141,6 +153,10 @@ <h5 class="subtitle">
</td>
<td>{{ zonage['remarque']}}</td>
</tr>
{% else %}
<tr>
<td colspan="4">Inconnu</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down
4 changes: 4 additions & 0 deletions backend/gn_module_zh/templates/usages.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
{% endfor %}
</td>
</tr>
{% else %}
<tr>
<td colspan="3">Activité(s) inconnue(s)</td>
</tr>
{% endfor %}
</tbody>
</table>
Expand Down