Skip to content
Snippets Groups Projects
Commit 25dc2d33 authored by Joachim Eckerlin's avatar Joachim Eckerlin Committed by Anja Leichsenring
Browse files

[TASK] Wrap for {searchWord.sword} in EXT:indexed_search

Additional wrapper around the sword in the search result template.
Allowing CSS Styling to the word, but not the label.

Resolves: #92786
Releases: master
Change-Id: Iff9cab894883ed1cefe0769d40cad2f50ecf9102
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66695


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: default avatarTorben Hansen <derhansen@gmail.com>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 24d5db5b
Branches
Tags
No related merge requests found
......@@ -11,10 +11,10 @@
<f:for each="{searchWords}" as="searchWord" key="key">
<f:if condition="{key} > 0">
<f:then>
<f:translate key="searchFor.{searchWord.oper}" />&nbsp;{searchWord.sword}
<f:translate key="searchFor.{searchWord.oper}" />&nbsp;<span class="tx-indexedsearch-info-sword-word">{searchWord.sword}</span>
</f:then>
<f:else>
<f:translate key="searchFor" />&nbsp;{searchWord.sword}
<f:translate key="searchFor" />&nbsp;<span class="tx-indexedsearch-info-sword-word">{searchWord.sword}</span>
</f:else>
</f:if>
</f:for>
......
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