{% extends "base.html" %} {% load static %} {% load i18n %} {% block title %}{% translate "Inspections d'assets" %}{% endblock %} {% block head %} {% endblock head %} {% block content %} {# ─── Modale de filtre des inspections ────────────────────────────────────── #} {# ─── Modal pour enregistrer un filtre favori ─────────────────────────────── #} {# ─── Modal Export Excel ──────────────────────────────────────────────────── #} {# ─── Map Click Elements Modal ────────────────────────────────────────────── #} {% if can_inspect %} {# Map right-click context menu #} {% endif %}
{# Layout selection buttons — aligned to the right #}
{# Search widget — centered across the full width (table + map) #}
{# ─── Table column ───────────────────────────────────────────────── #}
{% if can_inspect %} {% translate "Nouvelle inspection" %} {% endif %} 0 {% translate "sélectionné(s)" %}
{# Tab content #}
{% translate "Contenu limité à 5 000 éléments." %}
{# Spinner overlay — shown on top of existing table content during loading #}
{% translate "Chargement..." %}
{# Empty state #}

{% translate "Aucune inspection ne correspond aux critères de recherche ou à la zone affichée sur la carte." %}

{# ─── Map column ──────────────────────────────────────────────────── #}
{% include "inspections/components/inspection_detail_modal.html" %} {% include "inspections/components/edit_inspection_modal.html" %} {# Toast container #}
{% endblock content %} {% block script %} {% endblock script %}