{% extends 'CalciferBundle::layout.html.twig' %} {% block css %} {% stylesheets filter="compass" "@CalciferBundle/Resources/assets/css/events.scss" "@CalciferBundle/Resources/assets/css/leaflet.scss" %} {% endstylesheets %} {% endblock %} {% block javascripts %} {% javascripts "@CalciferBundle/Resources/assets/js/events.js" "@CalciferBundle/Resources/assets/js/leaflet.js" %} {% endjavascripts %} {% endblock %} {% block body -%}

Termine {% if tags|default(false) %} {% if tags|length == 1 %} für Tag {{ tags[0].name }} {% elseif(tags|length == 2) %} für die Tags {{ tags[0].name }} {% if operator == 'or' %}oder{% else %}und{% endif %} {{ tags[1].name }} {% else %} für die Tags {% for tag in tags %} {% if not loop.last %} {{ tag.name }}{% if loop.index < (tags|length - 1) %},{% endif %} {% else %} {% if operator == 'or' %}oder{% else %}und{% endif %} {{ tag.name }} {% endif %} {% endfor %} {% endif %} {% endif %} {% if location|default(false) %} für Ort „{{ location.name }}“ {% endif %}

{% if tag|default(false) %} Link zur Kalenderdatei {% endif %} {% if location|default(false) %} {% if (location.description|length > 0) or location.hasAddress() %}
{% if (location.description|length > 0) %}

{{ location.description|markdown }}

{% endif %} {% if (location.hasAddress()) %}

Anschrift:
{{ location.streetaddress }}{% if(location.streetnumber|length > 0) %} {{ location.streetnumber }}{% endif %}
{% if(location.zipcode|length > 0) %}{{ location.zipcode }} {% endif %}{{ location.city }}

{% endif %} {% if ((location.lon > 0) and (location.lat > 0)) %}

Auf einer OpenStreetMap-Karte anzeigen

{% endif %}
{% endif %} {% endif %}
{% if entities|length > 0 %}
{% for entity in entities %} {{ include('CalciferBundle:Event:event_box.html.twig',{'truncate_summary':true}) }} {% endfor %}
{% else %}

Es konnten keine Termine gefunden werden.

{% endif %} {% endblock %}