{% extends "base.html" %} {% load static i18n documents_tags %} {% block title %}{{ building.code }} - {{ building.get_name }} | StreetUp{% 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 }}
{% 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²
{{ 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 }} - {{ building.get_name }} {{ building.get_location_type_display }} {% if location_tree.assets %} {% endif %}
{% if location_tree.assets %}
{% translate "Assets rattachés à" %} {{ building.code }} :
{% include "assets/buildings/publicbuilding_asset_tree.html" with asset_nodes=location_tree.assets only %}
{% endif %}
{% include "assets/buildings/publicbuilding_location_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 de la Localisation et de ses sous-localisations" %}
{{ equipments|length }} {% translate "asset(s)" %}
{% for eq in equipments %} {% empty %} {% endfor %}
{% translate "Code / Nom" %} {% translate "Type d'asset" %} {% translate "Localisation spécifique" %} {% translate "Asset Parent" %} {% translate "Statut" %} {% translate "Prochain contrôle" %} {% translate "Actions" %}
{{ eq.code }}
{{ eq.get_name }}
{{ eq.get_asset_type_display }} {% 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:"-" }} {% 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 %}