Short dates on mobile

This commit is contained in:
Oliver Davies 2018-06-15 12:36:30 +01:00
parent 7a3fab1471
commit c475ee915a

View file

@ -19,7 +19,12 @@
{% for talk in talks %}
<tr>
<td class="w-40 md:w-48 whitespace-no-wrap xl:whitespace-normal">
<span class="block md:hidden">
{{ talk.event.date|date(talk.event.fuzzy_date ? 'M Y' : 'j M Y') }}
</span>
<span class="hidden md:block">
{{ talk.event.date|date(talk.event.fuzzy_date ? 'F Y' : 'j F Y') }}
</span>
{% if talk.event.time is defined %}
<div class="text-xs text-grey-dark">