{# /***************************************************************************** File name: property.html.twig Project: Villas3.com Copyright 2022-2024 Michael J. Miller, All rights reserved Purpose: page content for client facing property page Requires: villa - villa record loaded with global and area settings defaulted Revision History: Date Version Details -------- ------ ------------------------------------------------- 4/29/24 3.0a created 12/7/25 3.3 weeather and map widgets don't display if there's not enoough data. Weater widget can also be removed in manage properties->area panel. ******************************************************************************/ #}
{# {% set close_button_title = 'Close' %}#} {% include '/includes/dialog-close.html.twig' %} {#
{{ villa.title_short }}
#}
{{ villa.title_short }}
{% if reservation is defined and reservation.booked %}
{% else %} {% endif %}
{% include 'property-calendar-banner.html.twig' %}
{% for calendar in calendars %}

{{ calendar.title }}

{% for day_name in WEEK_DAY_NAMES %}
{{ day_name }}
{% endfor %}
{% endfor %}
{% include 'includes/dialog-close.html.twig' %} {# #}
{% if DEV_MODE %} {% include 'includes/stripe-card-list.html.twig' %} {% endif %}
{# #} {# #}
{% for photo in photos %}
Picture of {{ photo.caption }}
{{ photo.caption }}
{% endfor %}
{% if photos[0] is defined %} Picture of {{ photos[0].caption }}
{{ photos[0].caption }}
{% else %} No picture is available
Photos on the way!
{% endif %}
{% set i = 0 %} {% for photo in photos %} {% if i > 0 and i < 5 %} Picture of {{ photo.caption }}
{{ photo.caption }}
{% endif %} {% set i = i + 1 %} {% endfor %} {% if (no_links is not defined) %} See all pictures {% endif %}

{{ villa.title_long }}

{% if villa.archived %} NO LONGER AVAILABLE {% endif %} {% if (review_count is defined and review_count > 0) %} {% endif %}
{% if villa.location is not empty %}

{{ villa.location|raw }}

{% endif %}

{{ villa.guests_max }} Guests · {{ villa.bedrooms }} Bedrooms · {{ villa.beds }} Beds · {{ villa.baths }} Bathrooms {% if (is_metric == 1) and (villa.sq_meters > 0) %} · {{ villa.sq_meters }} M2 {% elseif villa.sq_ft > 0 %} · {{ villa.sq_ft }} Ft2 {% endif %}

Description  

{{ villa.description|raw }}

The Neighborhood  

{{ villa.neighborhood|raw }}

Guest Access  

{{ villa.guest_access|raw }}

House Rules  

{% if (amenities|length > 0) %}

Amenities

{% include 'admin/amenity-markup.html.twig' %}
{% endif %}
{{ include('property-reservation.html.twig') }}
{% if wx is defined and wx is not empty and villa.weather_enabled %} {% set weather_id = 'weather-wide' %} {% include '/includes/weather.html.twig' %} {% endif %} {% set mapclass = villa.lat is empty or villa.lng is empty ? 'hidden' : '' %}
{% if reservation is defined and reservation.state == 'confirmed' %}
{% else %}
Aproximate Location
{% endif %}