Initial commit
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
<f:comment>
|
||||
<!--
|
||||
=====================
|
||||
Base Partials/Search/ResultRow.html
|
||||
-->
|
||||
</f:comment>
|
||||
|
||||
<div class="result-list-item result-list-item-type-{resultrow.type}">
|
||||
<span class="clearer"> </span>
|
||||
<div class="add-info">
|
||||
<f:if condition="{conf.showResultUrl}">
|
||||
<i>{f:translate(key: 'LLL:EXT:ke_search/Resources/Private/Language/locallang_searchbox.xlf:label_resulturl')}:</i>
|
||||
<f:format.raw>{resultrow.url}</f:format.raw><br />
|
||||
</f:if>
|
||||
|
||||
<f:if condition="{conf.showTags}">
|
||||
<i>{f:translate(key: 'LLL:EXT:ke_search/Resources/Private/Language/locallang_searchbox.xlf:label_tags')}:</i>
|
||||
{resultrow.tags}<br />
|
||||
</f:if>
|
||||
</div>
|
||||
<span class="teaser_icon">
|
||||
<a href="{resultrow.url}">
|
||||
<f:render section="typeIconOrPreviewImage"
|
||||
arguments="{icon: resultrow.typeIconPath, filePreviewId: resultrow.filePreviewId, treatIdAsReference:resultrow.treatIdAsReference, iconConf: conf.showTypeIcon}" />
|
||||
</a>
|
||||
</span>
|
||||
<h3 class="result-title">
|
||||
<f:if condition="{conf.resultsNumeration}">
|
||||
<span class="result-number">{resultrow.number}.</span>
|
||||
</f:if>
|
||||
<f:format.raw>
|
||||
<f:format.crop maxCharacters="65" append="...">
|
||||
{resultrow.title}
|
||||
</f:format.crop>
|
||||
</f:format.raw>
|
||||
</h3>
|
||||
<f:if condition="{resultrow.type} == 'cal'">
|
||||
<f:then>
|
||||
<f:comment>
|
||||
<!-- Special cal date rendering -->
|
||||
</f:comment>
|
||||
<f:render partial="CalDate" arguments="{resultrow: resultrow}" />
|
||||
<br />
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:comment>
|
||||
<!-- Default date rendering -->
|
||||
</f:comment>
|
||||
<f:if condition="{conf.showDate}">
|
||||
<div class="result-date">
|
||||
<!-- <f:format.date>{resultrow.date_timestamp}</f:format.date> -->
|
||||
01.01.2023
|
||||
</div>
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
<div class="result-teaser">
|
||||
<f:format.raw>{resultrow.teaser}</f:format.raw>
|
||||
</div>
|
||||
<span class="clearer"> </span>
|
||||
</div>
|
||||
|
||||
|
||||
<f:section name="typeIconOrPreviewImage">
|
||||
<f:if condition="{iconConf} && !{filePreviewId}">
|
||||
<f:then>
|
||||
</f:then>
|
||||
<f:else>
|
||||
<f:if condition="{filePreviewId}">
|
||||
<f:image src="{filePreviewId}" treatIdAsReference="{treatIdAsReference}" width="100m" height="100c" />
|
||||
</f:if>
|
||||
</f:else>
|
||||
</f:if>
|
||||
</f:section>
|
||||
Reference in New Issue
Block a user