Commit 079eb05c authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add begin datetime to event search result and hide unstyled date in mobile view

parent 860c55ee
Pipeline #8795 passed with stages
in 3 minutes and 46 seconds
......@@ -9,8 +9,8 @@
<div class="col-12 mt-3">
<div class="card listing__group-item card-date">
<div class="card-horizontal" style="display: flex;">
<div class="d-flex mr-sm-4">
<time class="listing__group-item_time" datetime="{document.startdate_intS ->'Y-m-d H:i')}">
<div class="mr-sm-4 d-none d-sm-flex">
<time class="listing__group-item_time">
<span class="listing__group-item_time-day mt-sm-2">{document.startdate_intS ->'d')}</span>
<span class="listing__group-item_time-month">{document.startdate_intS ->'M')}</span>
<span class="listing__group-item_time-year">{document.startdate_intS ->'Y')}</span>
......@@ -23,6 +23,9 @@
<p class="card-text">{document.content -> f:format.crop(maxCharacters:'200') -> f:format.stripTags()}</p>
<time datetime="{document.startdate_intS ->'Y-m-d H:i T')}">
<small>Begin: {document.startdate_intS ->'l, F d Y H:i T')}</small>
<f:if condition="{document.location_stringS}">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment