ArticleContacts.html 1.49 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
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true">

<article class="searchResults__resultItem">
    <a class="searchResults__resultImage" href="#TODO">
        <div class="fittingImage">
            <v:resource.image identifier="{v:page.resources.fal(uid: parent_id) -> v:iterator.extract(key: 'id')}"/>
        </div>
    </a>

    <a target="_blank" href="#TODO">
        <div class="searchResults__resultTitle" style="color: black;">
            <f:format.html>{article.title}</f:format.html>
        </div>
    </a>
    <div class="searchResults__resultContent">
        <div class="searchResults__resultMeta">
            <span class="searchResults__resultDate">
19
                <f:format.date format="{f:translate(key:'LLL:EXT:lu_search/Resources/Private/Language/locallang.xlf:dateTimeFormat')}">{article.date_published}</f:format.date>
Dainis Abols's avatar
Dainis Abols committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
            </span>
            <span class="searchResults__resultCategory">
                <f:translate key="results.{article.type}"/>
            </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>{article.body}</f:format.html>
        </div>
        <div class="searchResults__resultLink">
            <a href="{article.siteUrl}" target="_blank">{article.siteName}<i class="icon-lu-outsource"></i></a>
        </div>
    </div>

</article>

35
</html>