ArticleEvent.html 1.47 KB
Newer Older
Dainis Abols's avatar
Dainis Abols committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      xmlns:ls="http://typo3.org/ns/Lu/LuSearch/ViewHelpers"
      data-namespace-typo3-fluid="true">

<article class="searchResults__resultItem">

    <ls:link.calendarize pageUid="{calendarId}" index="{uid}" absolute="true" class="searchResults__resultImage">
        <div class="fittingImage">
            <img src="{imgUrl}"/>
        </div>
    </ls:link.calendarize>

    <ls:link.calendarize pageUid="{calendarId}" index="{uid}" absolute="true">
        <div class="searchResults__resultTitle" style="color: black;">
            <f:format.html>{title}</f:format.html>
        </div>
    </ls:link.calendarize>
    <div class="searchResults__resultContent">
        <div class="searchResults__resultMeta">
            <span class="searchResults__resultDate">
                <f:format.date format="d.m.Y H:i">{date_published}</f:format.date>
            </span>
            <span class="searchResults__resultCategory">
                <f:translate key="results.events"/>
            </span>
        </div>
        <div class="searchResults__resultText" style="overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">
            <f:format.html>{body}</f:format.html>
        </div>
        <div class="searchResults__resultLink">
            <a href="{siteUrl}" target="_blank">{siteName}<i class="icon-lu-outsource"></i></a>
        </div>
    </div>

</article>

</html>