{%extends "base/page.html"%}
{%load markup%}
{%block title%}{{title}}{%endblock%}
{%block contents%}

<h1>{{title}}</h1>
{%for eventblock in eventblocks%}
{%if eventblocks|length > 1%}<h2><a name="{{eventblock.name}}">{{eventblock.name}}</a></h2>{%endif%}
<p>
<i><b>Note:</b> The PostgreSQL Global Development Group does not endorse any
events run by third parties. No guarantee of the quality of events is offered
whatsoever.</i>
</p>
{%for event in eventblock.events %}
<div><a href="/about/event/{{event.id}}/">{{event.title}}</a></div>
<div>Date: <b>{{event.displaydate|safe}}</b></div>
<div>Location: <b>{{event.locationstring}}</b></div>
{%if event.language%}<div>Language: <b>{{event.language}}</b></div>{%endif%}
<p>
{{event.summary|markdown}}
</p>
{%endfor%}
{%if not archive%}
<p><a href="/about/eventarchive/{{eventblock.link}}">Older {{eventblock.name}}</a></p>
{%endif%}
{%endfor%}

{%if not archive%}
<p><a href="/account/events/new/">Submit event</a></p>
{%endif%}
{%endblock%}

