first commit
This commit is contained in:
35
Resources/Private/Partials/Search/LastSearches.html
Normal file
35
Resources/Private/Partials/Search/LastSearches.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
|
||||
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
|
||||
|
||||
<f:section name="LastSearches">
|
||||
|
||||
<s:widget.lastSearches>
|
||||
<f:if condition="{lastSearches}">
|
||||
|
||||
<div id="tx-solr-lastsearches" class="secondaryContentSection panel">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<span class="glyphicon glyphicon-time"></span>
|
||||
<a data-toggle="collapse" data-parent="#accordion" href="#lastSearches">
|
||||
<s:translate key="lastSearches">Last searches</s:translate>
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="list-group panel-collapse collapse" id="lastSearches">
|
||||
<div class="panel-body">
|
||||
<f:for each="{lastSearches}" as="searchedFor">
|
||||
<li class="list-group-item">
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedFor)}" class="solr-ajaxified">{searchedFor}</a>
|
||||
</li>
|
||||
</f:for>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</f:if>
|
||||
</s:widget.lastSearches>
|
||||
|
||||
</f:section>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user