Commit 38342eb5 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen
Browse files

Merge branch 'task/beautify-event-result-mobile-view' into 'develop-v10'

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

See merge request t3o/!359
parents 74eb5bbf 079eb05c
Pipeline #8801 failed with stages
in 63 minutes and 16 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