symposion_app/pinaxcon/templates/symposion/schedule/schedule_detail.html
Joel Addison b56ca32259 Localise schedule times
Show local times on schedule and presentation details
if user is in a different timezone to the conference.
2021-01-22 14:23:08 +10:00

30 lines
1,014 B
HTML

{% extends "symposion/schedule/base.html" %}
{% load i18n %}
{% load cache %}
{% load lca2018_tags %}
{% load sitetree %}
{% block head_title %}{{ schedule.section.name }} Schedule{% endblock %}
{% block page_title %}{{ schedule.section.name }} Schedule{% endblock%}
{% block content %}
{% cache 600 "schedule-detail-table" schedule.section %}
{% for timetable in days %}
<div class="row">
<div class="col-12">
<h2 class="my-4">
{{ timetable.day.date|date:"l" }}, {{ timetable.day.date }}
</h2>
<p class="timezone-info small">Conference times are in {{ settings.LCA_START|date:'T' }} (UTC{{ settings.LCA_START|date:'O' }}).</p>
<div class="table-responsive d-none d-md-block">
{% include "symposion/schedule/_grid.html" %}
</div>
<div class="mobile-schedule d-sm-block d-md-none">
{% include "symposion/schedule/_mobile.html" %}
</div>
</div>
</div>
{% endfor %}
{% endcache %}
{% endblock %}