{% extends "base.html" %} {% load i18n static property_tags %} {% block title %}{{ property.seo_title }}{% endblock %} {% block meta_description %}{{ property.seo_description }}{% endblock %} {% block meta_keywords_tag %}{% endblock %} {% block canonical %}{{ request.build_absolute_uri }}{% endblock %} {% block og_title %}{{ property.seo_title }}{% endblock %} {% block og_description %}{{ property.seo_description }}{% endblock %} {% block og_type %}website{% endblock %} {% block og_image_tag %}{% if property.thumbnail %}{% elif property.cover_photo %}{% endif %}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{# ── En-tête du bien ───────────────────────────────────────────────────── #}
← {% trans "Retour aux annonces" %} {% if property.status == 'sale' %}{% trans "À vendre" %}{% else %}{% trans "À louer" %}{% endif %}

{{ property.name }}

📍 {{ property.address }}, {{ property.city }} ({{ property.postal_code }})

{% if property.price_on_request %} {% trans "Prix sur demande" %} {% else %} {{ property.price|price_fr }} {% if property.status == 'rent' %}{% trans "/ mois" %}{% endif %} {% endif %}

{# ── Galerie photos ────────────────────────────────────────────────────── #} {# ── Corps — infos + description ───────────────────────────────────────── #}
{# Description #}

{% trans "Description" %}

{{ property.description|linebreaks }}
{# Environnement #} {% if property.environment %}

{% trans "Situation géographique" %}

{% with ltype=property.environment.location_type %} {% if ltype == 'city' %}🏙 {% trans "Environnement urbain" %} {% elif ltype == 'village' %}🏘 {% trans "Village" %} {% else %}🌿 {% trans "Campagne" %} {% endif %} {% endwith %}

{% if property.environment.description %}

{{ property.environment.description }}

{% endif %}

🛒 {% trans "Commerces de proximité" %}

    {% for icon, label, available in property.environment.get_nearby_shops %}
  • {{ icon }} {{ label }}
  • {% endfor %}

🏛️ {% trans "Services publics" %}

    {% for icon, label, available in property.environment.get_public_services %}
  • {{ icon }} {{ label }}
  • {% endfor %}

🩺 {% trans "Santé" %}

    {% for icon, label, available in property.environment.get_health_services %}
  • {{ icon }} {{ label }}
  • {% endfor %}
{% endif %}
{# /detail-main #} {# ── Fiche récapitulative (sidebar) ──────────────────────────────────── #}
{# /detail-body #}
{# /detail-page #} {# ── Modal de contact ─────────────────────────────────────────────────────── #} {% include "properties/partials/contact_modal.html" %} {% endblock %} {% block extra_js %} {% endblock %}