Re-enable markdown safe mode
[pgweb/local.git] / templates / events / archive.html
blob69999c3114884e98f5ec9f7e63ae75169fb88c3f
1 {%extends "base/page.html"%}
2 {%load markup%}
3 {%block title%}{{title}}{%endblock%}
4 {%block contents%}
6 <h1>{{title}} <i class="fas fa-calendar-alt"></i></h1>
7 {%for eventblock in eventblocks%}
8 {%if eventblocks|length > 1%}<h2><a name="{{eventblock.anchor|slugify}}">{{eventblock.name}}</a></h2>{%endif%}
9 <p>
10 <em><strong>Note:</strong> The PostgreSQL Global Development Group does not endorse any
11 events run by third parties. No guarantee of the quality of events is offered
12 whatsoever.</em>
13 </p>
14 {% if eventblock.name == 'Community Events' %}
15 <p>
16 <img src="/media/img/PostgreSQL_Badge1.svg" class="community" alt="PostgreSQL Community Event">
17 indicates that an event is recognised under the <a href="/community/recognition/#conferences">community event guidelines</a> and is directly helping the PostgreSQL community.
18 </p>
19 {% endif %}
20 {%for event in eventblock.events %}
21 <hr class="eventseparator">
22 <div>
23 {% if event.badged %}
24 <img src="/media/img/PostgreSQL_Badge1.svg" class="community" alt="PostgreSQL Community Event">
25 {% endif %}
26 <a href="/about/event/{{event.id}}/">{{event.title}}</a>
27 </div>
28 <div>Date: <strong>{{event.displaydate|safe}}</strong></div>
29 <div>Location: <strong>{{event.locationstring}}</strong></div>
30 {%if event.language%}<div>Language: <strong>{{event.language}}</strong></div>{%endif%}
31 <div class="newseventwrap">
32 {{event.summary|markdown:"safe"}}
33 </div>
34 {%endfor%}
35 {%if not archive%}
36 <p><a href="/about/eventarchive/{{eventblock.link}}">Older {{eventblock.name}}</a></p>
37 {%endif%}
38 {%endfor%}
40 {%if not archive%}
41 <p><a href="/account/events/new/">Submit event</a></p>
42 {%endif%}
43 {%endblock%}