-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathevent_base.html
More file actions
31 lines (30 loc) · 1.35 KB
/
event_base.html
File metadata and controls
31 lines (30 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{% extends "joyous/joyous_base.html" %}
{% load wagtailcore_tags wagtailimages_tags i18n %}
{% block content %}
<div class="content joy-content">
{% block event_status %}{% if page.event_status %}<div class="joy-ev-status">
{{ page.status_text }}
</div>{% endif %}{% endblock event_status %}
{% block event_title %}
<div class="joy-title joy-title--page">
<h1>{{ page.title }}</h1>
</div>
{% endblock event_title %}{% block event_image %}{% if page.image %}
<div class="joy-img">
{% image page.image width-350 class="joy-img__img" %}
</div>{% endif %}{% endblock event_image %}
{% block event_who %}{% include "joyous/includes/who.html" with event=page %}{% endblock event_who %}
{% block event_when %}{% include "joyous/includes/when.html" with event=page %}{% endblock event_when %}
{% block event_where %}{% include "joyous/includes/where.html" with event=page %}{% endblock event_where %}
{% block event_details %}<div class="joy-ev-details joy-field">
{{ page.details|richtext }}
</div>{% endblock event_details %}
{% block event_footer %}
<div class="joy-export">
<a href="{{ request.path }}?format=google" target="_blank">{% trans "Google Calendar" %}</a>
<a href="{{ request.path }}?format=ical">{% trans "Export iCal" %}</a>
</div>
{% endblock event_footer %}
</div>
{% endblock content %}