{# /***************************************************************************** File name: panel-review.html.twig Project: Villas3.com Copyright 2025 Michael J. Miller, All rights reserved Purpose: villa reviews panel Requires: Revision History: Date Version Details -------- ------ ------------------------------------------------- 1/26/25 3.0a1 created ******************************************************************************/ #}

Review Detail

Property: {{ review.title_short }} {{ review.nights ? review.nights~' nights starting' }} {{ review.starts ? ' starting ' ~ review.starts|date('Y M d') }}

Guest: {{ review.reviewer_name|default('anonymous')|title }}

Overall score: {{ (review.score_overall)|round(1) }}
{% if review.score_accuracy %}
Accuracy: {{ (review.score_accuracy)|round(1) }}
{% endif %} {% if review.score_clean %}
Cleanliness: {{ (review.score_clean)|round(1) }}
{% endif %} {% if review.score_checkin %}
Checkin: {{ (review.score_checkin)|round(1) }}
{% endif %} {% if review.score_facilities %}
Facilities: {{ (review.score_facilities)|round(1) }}
{% endif %} {% if review.score_location %}
Location: {{ (review.score_location)|round(1) }}
{% endif %} {% if review.score_services %}
Services: {{ review.score_services|round(1) }}
{% endif %} {% if review.score_staff %}
Staff/Communication: {{ review.score_staff|round(1) }}
{% endif %} {% if review.score_value %}
Value: {{ review.score_value|round(1) }}
{% endif %}

{% if review.headline or review.body_positive or review.body_negative %}
Show
{% endif %} {% if review.headline %}
{% endif %} {% if review.body_positive %}
{% endif %} {% if review.body_negative %}
{% endif %} {% if review.reply %}
 
{% endif %}

Review will display like this:

{% include 'includes/client-review.html.twig' %}