Add event metadata information to non-js event pages. Fix #275.
This commit is contained in:
parent
8fb9e60601
commit
31c1f97036
|
@ -12,6 +12,7 @@
|
||||||
<th>When?</th>
|
<th>When?</th>
|
||||||
<th>What?</th>
|
<th>What?</th>
|
||||||
<th>Where?</th>
|
<th>Where?</th>
|
||||||
|
<th>Type</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
|
@ -20,14 +21,18 @@
|
||||||
|
|
||||||
{% ifchanged instance.when.lower.date %}
|
{% ifchanged instance.when.lower.date %}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan=3><strong>{{ instance.when.lower.date|date:"l Y-m-d" }}</strong></td>
|
<td colspan=4><strong>{{ instance.when.lower.date|date:"l Y-m-d" }}</strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endifchanged %}
|
{% endifchanged %}
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ instance.when.lower|date:"H:i" }}-{{ instance.when.upper|date:"H:i" }}</td>
|
<td>{{ instance.when.lower|date:"H:i" }}-{{ instance.when.upper|date:"H:i" }}</td>
|
||||||
<td><a href="{% url 'program:event_detail' camp_slug=camp.slug slug=instance.event.slug %}">{{ instance.event.title }}</a></td>
|
<td>
|
||||||
|
<i class="fas fa-video{% if not instance.event.video_recording %}-slash{% endif %}"></i>
|
||||||
|
<a href="{% url 'program:event_detail' camp_slug=camp.slug slug=instance.event.slug %}">{{ instance.event.title }}</a>
|
||||||
|
</td>
|
||||||
<td>{{ instance.location.name }}</td>
|
<td>{{ instance.location.name }}</td>
|
||||||
|
<td>{{ instance.event.event_type }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<noscript>
|
<noscript>
|
||||||
<a href="{% url "program:noscript_schedule_index" camp_slug=camp.slug %}" class="btn btn-primary">
|
<a href="{% url 'program:noscript_schedule_index' camp_slug=camp.slug %}" class="btn btn-primary">
|
||||||
Back to noscript schedule
|
Back to noscript schedule
|
||||||
</a>
|
</a>
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -20,6 +20,13 @@
|
||||||
{{ event.abstract|untrustedcommonmark }}
|
{{ event.abstract|untrustedcommonmark }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<h4>Metadata</h4>
|
||||||
|
<strong>To be recorded?</strong>: {{ event.video_recording|yesno:"Yes,No" }}<br />
|
||||||
|
{% if event.video_url %}
|
||||||
|
<strong>Video:</strong> <a href="{{ event.video_url }}">Watch video recording</a>
|
||||||
|
{% endif %}
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<h4>URLs for {{ event.title }}</h4>
|
<h4>URLs for {{ event.title }}</h4>
|
||||||
|
|
Loading…
Reference in a new issue