Files
@ e2e69bb1cf3d
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/schedule/schedule_list.html - annotation
e2e69bb1cf3d
1.6 KiB
text/html
Minimum viable changes to get schedule to display (#64)
e2e69bb1cf3d 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 e2e69bb1cf3d e2e69bb1cf3d e2e69bb1cf3d e2e69bb1cf3d 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 e2e69bb1cf3d 04f246d85071 | {% extends "site_base_wagtail.html" %}
{% load i18n %}
{% load cache %}
{% load sitetree %}
{% block head_title %}Presentation Listing{% endblock %}
{% block extra_head %}
<style>
.presentation {
}
.presentation h3 {
line-height: 1.1em;
font-weight: bold;
}
.presentation h4 {
}
.presentation p {
margin-bottom: 0.5em;
line-height: 1.2em;
}
</style>
{% endblock %}
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
{% block body %}
<div class="l-content-page">
<div class="l-content-page--richtext">
<div class="rich-text">
<h2>Accepted {{ schedule.section.name }}</h2>
{% cache 600 "schedule-list" schedule.section.name %}
{% for presentation in presentations %}
<div class="row">
<div class="col-md-8 presentation well">
<h3><a href="{% url "schedule_presentation_detail" presentation.pk %}">{{ presentation.title }}</a></h3>
<h4>{{ presentation.speakers|join:", " }}</h4>
{{ presentation.description }}
{% if presentation.slot %}
<h4>
{{ presentation.slot.day.date|date:"l" }}
{{ presentation.slot.start}}–{{ presentation.slot.end }}
in
{{ presentation.slot.rooms|join:", " }}
</h4>
{% endif %}
</div>
</div>
{% endfor %}
{% endcache %}
</div></div></div>
{% endblock %}
|