{% extends "Global/layout.html.twig" %} {% set pagetitle = 'Venues'|trans %} {% block title %}{{pagetitle}}{% endblock %} {% block content %} {% set navigation = [{"current" : (pagetitle)}] %} {% include "Global/navigation.html.twig" with navigation %}
{{ "%resultsCount% result(s) found"|trans({'%resultsCount%': venues.getTotalItemCount}) }}
{% if venues.getTotalItemCount > 0 %} {% for venue in venues %} {% include "Global/venue-card.html.twig" with {'venue': venue} %} {% endfor %} {% else %} {% include "Global/message.html.twig" with { type: "info", message: ('No venues found'|trans), icon: "fas fa-exclamation-circle" } %} {% endif %}
{% if venues.getTotalItemCount > 0 %} {{ knp_pagination_render(venues, null, {}, {'align': 'center'}) }} {% endif %}
{% endblock %} {% block javascripts %} {% endblock %}