{% extends "components/offer_dynamic_base.html" %} {% from "components/offer_right_panel_shell.html" import render_offer_right_panel %} {% from "components/offer_title_location.html" import render_offer_title_location %} {% set translations = { 'pl': { 'location': 'Lokalizacja', 'ref': 'Numer oferty', 'status': 'Status', 'price': 'Cena', 'features': 'Parametry', 'details': 'Szczegóły' }, 'en': { 'location': 'Location', 'ref': 'Reference number', 'status': 'Status', 'price': 'Price', 'features': 'Features', 'details': 'Details' }, 'es': { 'location': 'Ubicación', 'ref': 'Número de referencia', 'status': 'Estado', 'price': 'Precio', 'features': 'Características', 'details': 'Detalles' } } %} {% block page_title %}{{ offer.short_title or offer.title }}{% endblock %} {% block theme_color %}#478ac9{% endblock %} {% block content_visibility_class %}{% endblock %} {% block loader %}{% endblock %} {% block title_location %} {{ render_offer_title_location( title=offer.short_title or offer.title, title_id="title", location=offer.location, location_id="location", location_prefix=translations[lang]['location'], title_class="text-3xl font-bold mb-2", location_class="text-gray-500 mb-6" ) }} {% endblock %} {% block description_block %} {% if lang == 'es' %} {% set description_title = 'Descripción de la propiedad' %} {% set description_fallback_text = 'La descripción de esta propiedad aún no está disponible.' %} {% else %} {% set description_title = 'Property Description' %} {% set description_fallback_text = 'Property description has not been provided yet.' %} {% endif %} {% set description_text = offer.description %} {% set description_heading_class = "text-xl font-semibold mb-4" %} {% set description_container_class = "prose max-w-none text-gray-700 leading-relaxed whitespace-pre-line" %} {% set description_section_class = "" %} {% include "components/offer_description_block.html" %} {% endblock %} {% block right_panel %} {% call render_offer_right_panel() %} {% set price_panel_label = translations[lang]['price'] %} {% set price_panel_value = offer.price %} {% include "components/offer_price_panel.html" %} {% set section_title = "Najważniejsze informacje" %} {% set section_items = [ (translations[lang]['status'], offer.label), (translations[lang]['ref'], offer.ref), ] %} {% include "components/offer_kv_section.html" %} {% set section_title = translations[lang]['features'] %} {% set section_items = offer.features.items() %} {% include "components/offer_kv_section.html" %} {% set section_title = translations[lang]['details'] %} {% set section_items = offer.details.items() %} {% include "components/offer_kv_section.html" %} {% include "components/platform_form.html" %} {% endcall %} {% endblock %} {% block scripts %} {% endblock %}