You are here

rate-widgets-summary.html.twig in Rate 8.2

{{ trans }}
  {% if results.rate_count|default == 0 or results.rate_count|default is empty %}
    No votes have been submitted yet.
  {% else %}
    {{ results.rate_count }} votes with an average rating of {{ results.rate_average }}.
  {% endif %}
{{ endtrans }}

File

templates/rate-widgets-summary.html.twig
View source
  1. {{ trans }}
  2. {% if results.rate_count|default == 0 or results.rate_count|default is empty %}
  3. No votes have been submitted yet.
  4. {% else %}
  5. {{ results.rate_count }} votes with an average rating of {{ results.rate_average }}.
  6. {% endif %}
  7. {{ endtrans }}