aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-08-23 20:51:24 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-08-23 20:51:24 +0200
commit8413c96ffb0a96b96e63d629aff7abffe03301e3 (patch)
tree5fa8032e3872c81ac48131e7ff656bcb716cbdb7
parent97198afd29a8d41e5ab9f9edd5f9f71b38c9d355 (diff)
downloadramaskrik-social-8413c96ffb0a96b96e63d629aff7abffe03301e3.tar.gz
ramaskrik-social-8413c96ffb0a96b96e63d629aff7abffe03301e3.tar.bz2
ramaskrik-social-8413c96ffb0a96b96e63d629aff7abffe03301e3.zip
Use <time> elements in the screenings template.
-rw-r--r--templates/screening/list.tera7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/screening/list.tera b/templates/screening/list.tera
index 55ac971..21ef7e2 100644
--- a/templates/screening/list.tera
+++ b/templates/screening/list.tera
@@ -16,7 +16,12 @@ No screenings defined.
{% for s in screenings -%}
<tr>
<td>{{ s.start_time | date }}</td>
- <td>{{ s.start_time | date(format="%H:%M") }} - {{ s.end_time | date(format="%H:%M") }}:</td>
+ <td>
+ <time datetime="{{ s.start_time }}">{{ s.start_time | date(format="%H:%M") }}</time>
+ -
+ <time datetime="{{ s.end_time }}">{{ s.end_time | date(format="%H:%M") }}</time>
+ :
+ </td>
<td>{{ s.film.title }}</td>
<td>({{ s.room.name }})</td>
<td>