{% load i18n %} {% if events %}

### {# named area for jump links #} {% if start_dt %} {% blocktrans with start_dt|date:"M d, Y" as startdate and end_dt|date:"M d, Y" as enddate %}Events for {{ startdate }} to {{ enddate }}{% endblocktrans %} {% else %} {% trans "All Events" %} {% endif %}

{% for event in events %} {# leverage the functions in the object #}

{{ event.title }} {# show member icon if not allowanonymousview/allowsiteuserview #} {% if not event.allow_anonymous_view and event.allow_user_view %} {% endif %}
{% if not simplified %}
{% trans "Updated:" %} {{ event.update_dt|date:"l d-M-Y h:i A" }}
{% endif %}
{{ event.description|striptags|truncatewords:60 }} [More Info] {# posted by #} {% if not simplified %} {% blocktrans with event.owner.first_name as eventfirst and event.owner.last_name as eventlast %}Posted by: {{ eventfirst }} {{ eventlast }}{% endblocktrans %} {% endif %}

{% endfor %}

{% endif %}