{% extends "base.html" %} {% load static i18n documents_tags %} {% block title %}{{ location.code }} - {{ location.get_name }} | {{ product_name }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

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

{{ location.address|default:_("Adresse non renseignée") }}

{{ location.get_site_type_display }} {% if location.pmr_accessible %} PMR Accessible {% endif %} {% if location.has_water_point %} Eau potable {% endif %} {% if location.has_power_supply %} Électricité {% endif %} {% if location.is_fenced %} Clôturé {% endif %}
{% if location.surface_m2 %}
{% translate "Surface" %} {{ location.surface_m2|floatformat:0 }} m²
{% endif %} {% if location.max_capacity %}
{% translate "Jauge max" %} {{ location.max_capacity }} pers.
{% endif %}
{% translate "Propriété & Responsables" %}
{% translate "Propriétaire" %} : {{ location.owner|default:"-" }}
{% translate "Gestionnaire référent" %} : {% if location.manager %}{{ location.manager.get_full_name|default:location.manager.username }}{% else %}-{% endif %}
{% translate "Service gestionnaire" %} : {{ location.occupant_entity|default:"-" }}
{% translate "Caractéristiques physiques & Aménagements" %}
{% translate "Surface totale" %} : {{ location.surface_m2|default:"-" }} m²
{% translate "Jauge / Capacité d'accueil" %} : {% if location.max_capacity %}{{ location.max_capacity }} {% translate "personnes" %}{% else %}-{% endif %}
{% translate "Accessibilité PMR" %} : {% if location.pmr_accessible %}{% translate "Oui" %}{% else %}{% translate "Non" %}{% endif %}
{% translate "Point d'eau potable" %} : {% if location.has_water_point %}{% translate "Oui" %}{% else %}{% translate "Non" %}{% endif %}
{% translate "Alimentation électrique" %} : {% if location.has_power_supply %}{% translate "Disponible" %}{% else %}{% translate "Non" %}{% endif %}
{% translate "Clôture & Sécurité" %} : {% if location.is_fenced %}{% translate "Site clôturé" %}{% else %}{% translate "Accès libre" %}{% endif %}
{% translate "Arborescence Hiérarchique" %} {{ location_tree.children|length }} {% translate "sous-localisation(s)" %}
{% if parent_location %}
{% translate "Localisation parente" %} :
{{ parent_location.code }} - {{ parent_location.get_name }} {{ parent_location.get_site_type_display }}
{% translate "Voir la parente" %}
{% endif %}
{% if location.site_type == 'playground' %} {% elif location.site_type == 'sports_ground' %} {% elif location.site_type == 'multisports_agora' %} {% elif location.site_type == 'outdoor_fitness' %} {% elif location.site_type == 'skatepark_pumptrack' %} {% elif location.site_type == 'open_air_theater' %} {% elif location.site_type == 'park_recreation' %} {% elif location.site_type == 'dog_park' %} {% elif location.site_type == 'cemetery' %} {% else %} {% endif %} {{ location.code }} - {{ location.get_name }} {{ location.get_site_type_display }} {% if location_tree.assets %} {% endif %}
{% if location_tree.assets %}
{% translate "Assets rattachés à" %} {{ location.code }} :
{% include "assets/outdoor/outdoorlocation_asset_tree.html" with asset_nodes=location_tree.assets only %}
{% endif %}
{% include "assets/outdoor/outdoorlocation_tree.html" with node=location_tree depth=1 only %}
{% translate "Localisation & Carte" %} {% if center_lat and center_lon %} Street View Street View {% endif %}
{% translate "Documents associés" %} ({{ documents.count }}) {% translate "Ajouter" %}
{% for doc in documents %}
{% if doc.document.file %}
{{ doc.document.file.name }}
{% translate "Télécharger" %} {% else %} {% translate "Fichier indisponible" %} {% endif %}
{% empty %}
{% translate "Aucun document associé." %}
{% endfor %}
{% translate "Assets Physiques & Équipements du Site et de ses sous-localisations" %}
{{ equipments|length }} {% translate "asset(s)" %}
{% for eq in equipments %} {% empty %} {% endfor %}
{% translate "Code" %} {% translate "Nom" %} {% translate "Type d'asset" %} {% translate "Localisation spécifique" %} {% translate "Norme" %} {% translate "Statut" %} {% translate "Actions" %}
{{ eq.code }} {{ eq.get_name }} {{ eq.get_asset_type_display }} {% if eq.location %} {{ eq.location.code }} - {{ eq.location.get_name }} {% else %} {% translate "Site principal" %} {% endif %} {{ eq.get_norm_display|default:"-" }} {{ eq.get_status_display }}
{% translate "Aucun asset physique répertorié pour ce site." %}
{% translate "Historique des Interventions" %}
{{ interventions.count }} {% translate "intervention(s)" %}
{% for intervention in interventions %} {% empty %} {% endfor %}
{% translate "N° Ticket" %} {% translate "Titre" %} {% translate "Statut" %} {% translate "Priorité" %} {% translate "Créée le" %} {% translate "Actions" %}
#{{ intervention.pk }} {{ intervention.title }} {{ intervention.get_status_display }} {{ intervention.get_priority_display }} {{ intervention.creation_time|date:"d/m/Y H:i" }}
{% translate "Aucune intervention enregistrée sur cet espace." %}
{% endblock content %}