Commit 9e98edbe authored by Thomas Löffler's avatar Thomas Löffler

Show more text when exact match

parent f589043d
Pipeline #4551 passed with stages
in 9 minutes and 26 seconds
......@@ -27,14 +27,14 @@
</h4>
<p>
<small>
<f:format.crop maxCharacters="180" respectWordBoundaries="true">{s:document.highlightResult(resultSet:resultSet, document:document, fieldName:'content')}</f:format.crop>
<f:format.crop maxCharacters="{f:if(condition:exactMatch, then: '360', else: '180')}" respectWordBoundaries="true">{s:document.highlightResult(resultSet:resultSet, document:document, fieldName:'content')}</f:format.crop>
<br>
<em>
Uploaded on
<f:format.date format="d M Y">@{document.extensionLastUpload_intS}</f:format.date>
<f:if condition="{document.author}">
by
<f:format.crop maxCharacters="50">{document.author}</f:format.crop>
<f:format.crop maxCharacters="{f:if(condition:exactMatch, then: '100', else: '50')}">{document.author}</f:format.crop>
</f:if>
</em>
</small>
......
Markdown is supported
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