{# /***************************************************************************** File name: guest_review.html.twig Project: Villas3.com Copyright 2025 Michael J. Miller, All rights reserved Purpose: page content for client reviews Requires: villa - villa record loaded with global and area settings defaulted Revision History: Date Version Details -------- ------ ------------------------------------------------- 2/5/25 3.0a2 created ******************************************************************************/ #} {% macro stars(name, score, size = 'xl') %} {% for i in 1..5 %} {% if i <= score %} {% else %} {% endif %} {% endfor %} {% endmacro %}
{# The display shows a single scrollable picture with a counter. #}
{% for photo in photos %}
Picture of {{photo.caption}}
{{photo.caption}}
{% endfor %}

{{villa.title_long}}

{{villa.location|raw}}

{{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 %}

From {{reservation.starts|date("M d")}} to {{reservation.ends|date("M d, Y")}}

{% include 'guest-review-scores.html.twig' %}
Home Page {% if not locked %} {% endif %}