[BUGFIX] Indexed_search: add CSSsufix to title class 59/38459/4
authorTymoteusz Motylewski <t.motylewski@gmail.com>
Fri, 3 Apr 2015 14:23:42 +0000 (16:23 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Tue, 7 Apr 2015 07:43:43 +0000 (09:43 +0200)
Add missing marker and fluid expression for templates,
so the search results are rendered as documented.

Resolves: #16773
Releases: master, 6.2
Change-Id: I514f20e8802a624bf1416b9a55b90f8d3f82c1d9
Reviewed-on: http://review.typo3.org/38459
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/indexed_search/Resources/Private/Partials/Searchresult.html
typo3/sysext/indexed_search/pi/indexed_search.tmpl
typo3/sysext/indexed_search/pi/template_css.tmpl

index 92e5663..bc76490 100644 (file)
@@ -1,5 +1,5 @@
 <div class="tx-indexedsearch-res">
-       <f:format.html><h3><span class="tx-indexedsearch-icon">{row.icon}</span> <f:if condition="{settings.displayResultNumber}"><span class="tx-indexedsearch-result-number">{row.result_number}</span></f:if> <span class="tx-indexedsearch-title">{row.title}</span> <span class="tx-indexedsearch-percent">{row.rating}</span></h3></f:format.html>
+       <f:format.html><h3><span class="tx-indexedsearch-icon">{row.icon}</span> <f:if condition="{settings.displayResultNumber}"><span class="tx-indexedsearch-result-number">{row.result_number}</span></f:if> <span class="tx-indexedsearch-title{row.CSSsuffix}">{row.title}</span> <span class="tx-indexedsearch-percent">{row.rating}</span></h3></f:format.html>
 
        <f:if condition="{row.headerOnly} == 0">
        <p class="tx-indexedsearch-description">{row.description}</p>
index 3ba3ae6..70fb1a8 100644 (file)
                        <tr>
                                <td class="tx-indexedsearch-icon icon" nowrap="nowrap">###ICON###</td>
                                <td class="tx-indexedsearch-result-number result-number" nowrap="nowrap">###RESULT_NUMBER###</td>
-                               <td class="tx-indexedsearch-title title" width="100%">###TITLE###</td>
+                               <td class="tx-indexedsearch-title###CSSSUFFIX### title" width="100%">###TITLE###</td>
                                <td class="tx-indexedsearch-percent percent" nowrap="nowrap">###RATING###</td>
                        </tr>
                        <!-- ###HEADER_ROW### end -->
index a6a078e..24de211 100644 (file)
 <!-- ###RESULT_OUTPUT### begin -->
        <div class="tx-indexedsearch-res res res-tmpl-css">
                <!-- ###HEADER_ROW### begin -->
-               <h3><span class="tx-indexedsearch-icon icon">###ICON###</span> <span class="tx-indexedsearch-result-number result-number">###RESULT_NUMBER###</span> <span class="tx-indexedsearch-title title">###TITLE###</span> <span class="tx-indexedsearch-percent percent percent-tmpl-css">###RATING###</span></h3>
+               <h3><span class="tx-indexedsearch-icon icon">###ICON###</span> <span class="tx-indexedsearch-result-number result-number">###RESULT_NUMBER###</span> <span class="tx-indexedsearch-title###CSSSUFFIX### title">###TITLE###</span> <span class="tx-indexedsearch-percent percent percent-tmpl-css">###RATING###</span></h3>
                <!-- ###HEADER_ROW### end -->
 
                <!-- ###ROW_LONG### begin -->