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

{{ building.code }} - {{ building.get_name }}

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

{{ building.get_usage_type_display }} {{ building.get_building_status_display }} {% if building.is_erp %} {{ regional_terms.public_access_short }} (Cat. {{ building.erp_category|default:"-" }}) {% endif %}
{% if building.dpe_rating %}
{{ regional_terms.energy_diag_short }} Classe {{ building.dpe_rating }}
{% endif %} {% if building.ges_rating %}
{{ regional_terms.carbon_diag_short }} Classe {{ building.ges_rating }}
{% endif %}
{% translate "Propriété & Responsables" %}
{% translate "Propriétaire" %} : {{ building.owner|default:"-" }}
{% translate "Gestionnaire référent" %} : {% if building.manager %}{{ building.manager.get_full_name|default:building.manager.username }}{% else %}-{% endif %}
{% translate "Service occupant" %} : {{ building.occupant_entity|default:"-" }}
{% translate "Caractéristiques physiques &" %} {{ regional_terms.public_access_short }}
{% if building.room_number %} {% endif %} {% if building.surface_m2 %} {% endif %} {% if building.ceiling_height_m %} {% endif %} {% if building.floor_type %} {% endif %} {% if building.fire_compartment %} {% endif %}
{% translate "Année de construction" %} : {{ building.construction_year|default:"-" }}
{% translate "Étages / Sous-sols" %} : {{ building.floors_count }} {% translate "étage(s)" %} / {{ building.basement_count }} {% translate "sous-sol(s)" %}
{% translate "Surface Utile / Brut" %} : {{ building.usable_surface_m2|default:"-" }} m² / {{ building.total_surface_m2|default:"-" }} m²
{% translate "Numéro de local / porte" %} : {{ building.room_number }}
{% translate "Surface spécifique" %} : {{ building.surface_m2 }} m²
{% translate "Hauteur sous plafond" %} : {{ building.ceiling_height_m }} m
{% translate "Chauffage du local" %} : {% if building.is_heated %}{% translate "Chauffé" %}{% else %}{% translate "Non chauffé" %}{% endif %}
{% translate "Revêtement de sol" %} : {{ building.get_floor_type_display }}
{% translate "Compartiment coupe-feu" %} : {{ building.fire_compartment }}
{{ regional_terms.public_access_category }} : {{ building.erp_category|default:"-" }}
{% translate "Accessibilité PMR" %} : {% if building.pmr_accessible %}{% translate "Oui" %}{% else %}{% translate "Non" %}{% 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_location_type_display }}
{% translate "Voir la parente" %}
{% endif %}
{{ building.code }} {% if building.room_number %} {{ building.room_number }} {% endif %} - {{ building.get_name }} {{ building.get_location_type_display }} {% if location_tree.assets %} {{ location_tree.assets|length }} {% translate "asset(s)" %} {% endif %}
{% if location_tree.assets %}
{% include "assets/buildings/publicbuilding_asset_tree.html" with asset_nodes=location_tree.assets depth=2 only %}
{% endif %}
{% include "assets/buildings/publicbuilding_location_tree.html" with node=location_tree depth=1 only %}
{% if level_specific_mode %} {% translate "Plan du niveau" %} : {{ active_floor.name|default:building.name }} {% else %} {% translate "Localisation & Plans" %} {% endif %}
{% if center_lat and center_lon %} Street View Street View {% endif %}
{% if not level_specific_mode and floors_data %}
{% translate "Niveaux" %} : {% for f in floors_data %} {% endfor %}
{% endif %}
{{ active_floor.name|default:building.name }}
{% translate
{% translate "Aucun plan associé à ce niveau" %}

{% translate "Vous pouvez téléverser un plan d'étage (SVG, image ou PDF) pour ce niveau." %}

{% if can_edit %} {% translate "Associer un plan" %} {% endif %}
{% translate "Documents associés" %} ({{ documents.count }}) {% translate "Ajouter" %}
{% for doc in documents %}
{% if doc.document_type == 'floor_plan' %} {% translate "Plan" %} {% else %} {{ doc.get_document_type_display }} {% endif %}
{{ doc.description|default:doc.file.name }}
{% if doc.floor_location %}
{{ doc.floor_location.name }}
{% endif %} {% if doc.file %} {% translate "Télécharger" %} {% else %} {% translate "Fichier indisponible" %} {% endif %}
{% empty %}
{% translate "Aucun document associé." %}
{% endfor %}
{% translate "Assets Physiques & Équipements de la Localisation et de ses sous-localisations" %}
{{ equipments|length }} {% translate "asset(s)" %}
{% for eq in equipments %} {% empty %} {% endfor %}
{% translate "Code / Nom" %} {% translate "Lot / Type d'asset" %} {% translate "Caractéristiques & Spécifications" %} {% translate "Localisation spécifique" %} {% translate "Asset Parent" %} {% translate "Statut" %} {% translate "Prochain contrôle" %} {% translate "Maintenance & Prestataire" %} {% translate "Actions" %}
{{ eq.code }}
{{ eq.get_name }}
{{ eq.get_macro_lot }} {{ eq.get_asset_type_display }} {% if eq.dimensions or eq.surface_m2 %}
{% if eq.dimensions %}{{ eq.dimensions }}{% endif %}{% if eq.surface_m2 %} ({{ eq.surface_m2 }} m²){% endif %}
{% endif %} {% if eq.power_kw or eq.energy_source %}
{% if eq.power_kw %}{{ eq.power_kw }} kW{% endif %} {% if eq.energy_source %}{{ eq.get_energy_source_display }}{% endif %}
{% endif %} {% if eq.material or eq.fire_rating or eq.glazing_type %}
{% if eq.material %}{{ eq.material }}{% endif %} {% if eq.glazing_type %} - {{ eq.get_glazing_type_display }}{% endif %} {% if eq.fire_rating %}{{ eq.fire_rating }}{% endif %}
{% endif %}
{% if eq.location %} {{ eq.location.code }} - {{ eq.location.get_name }} {% else %} {{ eq.building.code }} {% endif %} {% if eq.parent_asset %} {{ eq.parent_asset.code }} {% else %} - {% endif %} {{ eq.get_status_display }} {{ eq.next_control_date|date:"d/m/Y"|default:"-" }} {% if eq.contractor_name %}
{{ eq.contractor_name }}
{% endif %} {% if eq.maintenance_contract_ref %}
Réf: {{ eq.maintenance_contract_ref }}
{% elif not eq.contractor_name %} - {% endif %}
{% translate "Détail" %}
{% translate "Aucun asset ou équipement technique enregistré." %}
{% translate "Interventions & Maintenance" %}
{% translate "Nouvelle intervention" %}
{% for interv in interventions %} {% empty %} {% endfor %}
{% translate "Code" %} {% translate "Titre / Objet" %} {% translate "Date de début" %} {% translate "Statut" %}
{{ interv.code }} {{ interv.title }} {{ interv.begin_time|date:"d/m/Y H:i"|default:"-" }} {{ interv.get_status_display }}
{% translate "Aucune intervention enregistrée pour ce bâtiment." %}
{% endblock %} {% block script %} {% endblock script %}