{% extends "base.html" %} {% load static %} {% load tz %} {% load i18n %} {% load documents_tags %} {% block content %}

{{ location.code}} - {{ location.get_name }}


{{ location.structure }}
{% if location.is_main_location %} {% else %} {{ location.structure.main_location }} {% endif %}
{% if location.parent_location %} {{ location.parent_location }} {% endif %}
{% if location.lon %} {% translate 'Street View' %} {% translate "View in Google Street View" %} {% endif %}
{% if location.is_main_location %}

{% translate "Documents" %}

{% if document_folder %} {{ location.structure }} {% else %} {{ location.structure }} {% endif %}
{% if use_managed_documents %} {# Nouveau système de gestion documentaire #} {% for doc_info in main_documents %} {% if doc_info.document %}
{{ doc_info.tag.name }}
{% if doc_info.version and doc_info.version.file %}
{% if doc_info.version.thumbnail %} {{ doc_info.document.title }} {% else %} {{ doc_info.version.filename }} {% endif %}
{% endif %}
{{ doc_info.document.updated_at|timezone:"Europe/Paris"|date:"d/m/Y" }}
{% if doc_info.version %}v{{ doc_info.version.version_number }}{% endif %}
{% endif %} {% endfor %} {% else %} {# Ancien système - StructureDocument #} {% for document in main_documents %} {% if document %}
{{ document.upload_date|timezone:"Europe/Paris"|date:"d/m/Y" }}
{{ document.uploaded_by.username }}
{% endif %} {% endfor %} {% endif %}
{% endif %} {% if can_view_exceptional_transport and location.structure %}

{% translate "Transport exceptionnel & Convois lourds" %}

{% if te_info %} {% if te_info.passage_status == 'authorized' %} {% translate "Autorisé" %} {% elif te_info.passage_status == 'conditional' %} {% translate "Sous conditions" %} {% elif te_info.passage_status == 'prior_study_required' %} {% translate "Étude préalable requise" %} {% elif te_info.passage_status == 'forbidden' %} {% translate "Interdit" %} {% else %} {% translate "Non évalué" %} {% endif %} {% else %} {% translate "Non évalué" %} {% endif %} {% if can_edit_exceptional_transport %} {% endif %}
{% translate "Capacités de charge" %}
{% translate "Poids max. standard (MAXWA)" %} : {% if te_info.max_authorized_weight_tonnes %}{{ te_info.max_authorized_weight_tonnes }} t{% else %}-{% endif %}
{% translate "Tonnage max. calculé (MX)" %} : {% if te_info.max_calculated_weight_tonnes %}{{ te_info.max_calculated_weight_tonnes }} t{% else %}-{% endif %}
{% translate "Capacité min. garantie (MINWR)" %} : {% if te_info.min_guaranteed_capacity_tonnes %}{{ te_info.min_guaranteed_capacity_tonnes }} t{% else %}-{% endif %}
{% translate "Charge max. / essieu" %} : {% if te_info.max_axle_load_tonnes %}{{ te_info.max_axle_load_tonnes }} t/essieu{% else %}-{% endif %}
{% translate "Entraxe minimal essieux" %} : {% if te_info.min_axle_spacing_m %}{{ te_info.min_axle_spacing_m }} m{% else %}-{% endif %}
{% translate "Gabarits & Classification" %}
{% translate "Classe de pont (BKL)" %} : {{ te_info.bridge_class|default:"-" }}
{% translate "N° FOD / ID National" %} : {{ te_info.fod_vnr|default:"-" }} / {{ te_info.national_id|default:"-" }}
{% translate "Hauteurs libres (G / Axe / D)" %} : {{ te_info.clearance_height_left_m|default:"-" }} m / {{ te_info.clearance_height_center_m|default:"-" }} m / {{ te_info.clearance_height_right_m|default:"-" }} m
{% translate "Largeur utile (BRE)" %} : {% if te_info.usable_width_m %}{{ te_info.usable_width_m }} m{% else %}-{% endif %}
{% translate "Franchissement ferroviaire / métro" %} : {% if te_info.is_railway_metro_crossing %} {% translate "Oui" %} {% else %} {% translate "Non" %} {% endif %}
{% translate "Règles d'exploitation" %}
  • {% translate "Vitesse maximale" %} {{ te_info.max_speed_kmh|default:5 }} km/h
  • {% translate "Freinage sur ouvrage" %} {% if te_info.is_braking_forbidden %} {% translate "Strictement interdit" %} {% else %} {% translate "Autorisé" %} {% endif %}
  • {% translate "Passage isolé (convoi seul)" %} {% if te_info.is_isolated_crossing_only %} {% translate "Convoi seul obligatoire" %} {% else %} {% translate "Non exigé" %} {% endif %}
  • {% translate "Distance de sécurité" %} {{ te_info.safety_distance_m|default:5 }} m
  • {% translate "Interruption circulation" %} {% if te_info.traffic_interruption_required %} {% translate "Requise" %} {% else %} {% translate "Non" %} {% endif %}
  • {% translate "Position sur chaussée" %} {{ te_info.get_lane_positioning_display|default:"Standard" }}
{% translate "Prescriptions détaillées" %}
{% if te_info.prescriptions_fr %}
FR

{{ te_info.prescriptions_fr }}

{% endif %} {% if te_info.prescriptions_nl %}
NL

{{ te_info.prescriptions_nl }}

{% endif %} {% if not te_info.prescriptions_fr and not te_info.prescriptions_nl %}

{% translate "Aucune prescription textuelle spécifique enregistrée." %}

{% endif %} {% if te_info.last_study_ref or te_info.last_study_date %}
{% translate "Dernière note de calcul" %} : {{ te_info.last_study_ref|default:"-" }} {% if te_info.last_study_date %}({{ te_info.last_study_date|date:"d/m/Y" }}){% endif %}
{% endif %}
{% translate "Documents du répertoire Transport exceptionnel" %}
{% if te_folder %} {% translate "Ouvrir dans la GED" %} {% endif %}
{% if te_documents %}
{% for doc in te_documents %}
{{ doc.title }}
{{ doc.updated_at|date:"d/m/Y" }}
{% if doc.current_version and doc.current_version.file %}
v{{ doc.current_version.version_number }}
{% endif %}
{% endfor %}
{% else %}

{% translate "Aucun document spécifique dans le répertoire Transport exceptionnel." %}

{% endif %} {% if te_notices %}
{% translate "Historique des missions d'études et avis" %}
{% for notice in te_notices %} {% endfor %}
{% translate "Mission / Réf" %} {% translate "Date" %} {% translate "Résultat" %} {% translate "Tonnage évalué" %} {% translate "Charge / essieu" %} {% translate "Commentaires" %}
{{ notice.mission_reference }} {{ notice.notice_date|date:"d/m/Y"|default:"-" }} {% if notice.result == 'positive' %} {% translate "Favorable" %} {% elif notice.result == 'conditional' %} {% translate "Sous conditions" %} {% else %} {% translate "Défavorable" %} {% endif %} {% if notice.evaluated_total_weight_tonnes %}{{ notice.evaluated_total_weight_tonnes }} t{% else %}-{% endif %} {% if notice.evaluated_axle_load_tonnes %}{{ notice.evaluated_axle_load_tonnes }} t{% else %}-{% endif %} {{ notice.comments|default:"-" }}
{% endif %}
{% endif %}

{% translate "Assets" %}

{% if can_create_assets %} {% endif %}
{{ location.get_name }} {% if location_tree.children %} {% blocktrans count c=location_tree.children|length %} {{ c }} sous-localisation {% plural %} {{ c }} sous-localisations {% endblocktrans %} {% endif %} {% if location_tree.assets %} {% blocktrans count a=location_tree.assets|length %} {{ a }} asset {% plural %} {{ a }} assets {% endblocktrans %} {% endif %}
{% if show_inactive_assets %} {% translate "Masquer les non-actifs" %} {% else %} {% translate "Afficher les non-actifs" %} {% endif %}
{% include "assets/structures_location_tree.html" with node=location_tree include_inactive=show_inactive_assets only %}
…

{% translate "Interventions" %}

{% for interv in interventions %} {% endfor %}
{% translate "Code" %} {% translate "Titre" %} {% translate "Début" %} {% translate "Statut" %}
{{ interv.code }} {{ interv.title }} {{ interv.begin_time|date:"d-m-Y H:i" }} {{ interv.get_status_display }}
{% if can_create_assets %} {% include "assets/components/add_asset_modal.html" with modal_id="addAssetLocationModal" thematic_code="structures" location=location categories=categories suggested_code=suggested_code %} {% endif %} {% if can_edit_exceptional_transport and location.structure %} {% endif %} {% endblock content%} {% block script %} {{ geom|json_script:"geom_value" }} {{ location.lon|json_script:"lon_value" }} {{ location.lat|json_script:"lat_value" }} {% if can_create_assets %} {% endif %} {% endblock script %}