Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
079eb05c
Commit
079eb05c
authored
Apr 22, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3org_layout/Resources/Private/Partials/Solr/Result/Item/tx_sfeventmgt_domain_model_event.html
View file @
079eb05c
...
...
@@ -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 -> f:format.date(format:'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 -> f:format.date(format:'d')}
</span>
<span
class=
"listing__group-item_time-month"
>
{document.startdate_intS -> f:format.date(format:'M')}
</span>
<span
class=
"listing__group-item_time-year"
>
{document.startdate_intS -> f:format.date(format:'Y')}
</span>
...
...
@@ -23,6 +23,9 @@
</a>
</h4>
<p
class=
"card-text"
>
{document.content -> f:format.crop(maxCharacters:'200') -> f:format.stripTags()}
</p>
<time
datetime=
"{document.startdate_intS -> f:format.date(format:'Y-m-d H:i T')}"
>
<small>
Begin: {document.startdate_intS -> f:format.date(format:'l, F d Y H:i T')}
</small>
</time>
</div>
</div>
<f:if
condition=
"{document.location_stringS}"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment