2018-06-07 15:13:07 +02:00
|
|
|
<div id="Content" class="searchResults">
|
2019-08-26 12:17:57 +02:00
|
|
|
<h1>$Title</h1>
|
2018-06-07 15:13:07 +02:00
|
|
|
|
|
|
|
<% if $Query %>
|
2019-09-08 21:08:39 +02:00
|
|
|
<p class="searchQuery"><%t SolrResultsPage.SearchQuery 'You searched for' %> "{$Query}"</p>
|
2018-06-07 15:13:07 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $Results.Suggestion %>
|
2019-09-08 21:08:39 +02:00
|
|
|
<p class="spellCheck"><%t SolrResultsPage.DidYouMean 'Did you mean' %> <a href="{$Link}SearchForm?Search=$Results.SuggestionQueryString">$Results.SuggestionNice</a>?</p>
|
2018-06-07 15:13:07 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $Results.Matches %>
|
|
|
|
<ul id="SearchResults">
|
|
|
|
<% loop $Results.Matches %>
|
|
|
|
<li>
|
|
|
|
<h4>
|
|
|
|
<a href="$Link">
|
|
|
|
<% if $MenuTitle %>
|
|
|
|
$MenuTitle
|
|
|
|
<% else %>
|
|
|
|
$Title
|
|
|
|
<% end_if %>
|
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
<p><% if $Abstract %>$Abstract.XML<% else %>$Content.ContextSummary<% end_if %></p>
|
2019-09-11 15:41:53 +02:00
|
|
|
<a class="readMoreLink" href="$Link" title="<%t SolrResultsPage.ReadMore 'Read more about' %> "{$Title}""><%t SolrResultsPage.ReadMore 'Read more about' %> "{$Title}"...</a>
|
2018-06-07 15:13:07 +02:00
|
|
|
</li>
|
|
|
|
<% end_loop %>
|
|
|
|
</ul>
|
|
|
|
<% else %>
|
2019-09-08 21:08:39 +02:00
|
|
|
<p><%t SolrResultsPage.NoResults 'Sorry, your search query did not return any results.' %></p>
|
2018-06-07 15:13:07 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
|
|
|
<% if $Results.Matches.MoreThanOnePage %>
|
|
|
|
<div id="PageNumbers">
|
|
|
|
<div class="pagination">
|
|
|
|
<% if $Results.Matches.NotFirstPage %>
|
2019-09-08 21:08:39 +02:00
|
|
|
<a class="prev" href="$Results.Matches.PrevLink" title="<%t SolrResultsPage.ViewPreviousPage 'View the previous page' %>">←</a>
|
2018-06-07 15:13:07 +02:00
|
|
|
<% end_if %>
|
|
|
|
<span>
|
|
|
|
<% loop $Results.Matches.Pages %>
|
|
|
|
<% if $CurrentBool %>
|
|
|
|
$PageNum
|
|
|
|
<% else %>
|
2019-09-08 21:08:39 +02:00
|
|
|
<a href="$Link" title="<%t SolrResultsPage.ViewPageNumber 'View page number' %> $PageNum" class="go-to-page">$PageNum</a>
|
2018-06-07 15:13:07 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% end_loop %>
|
|
|
|
</span>
|
|
|
|
<% if $Results.Matches.NotLastPage %>
|
2019-09-08 21:08:39 +02:00
|
|
|
<a class="next" href="$Results.Matches.NextLink" title="<%t SolrResultsPage.ViewNextPage 'View the next page' %>">→</a>
|
2018-06-07 15:13:07 +02:00
|
|
|
<% end_if %>
|
|
|
|
</div>
|
2019-09-08 21:08:39 +02:00
|
|
|
<p><%t SolrResultsPage.Page 'Page' %> $Results.Matches.CurrentPage <%t SolrResultsPage.of 'of' %> $Results.Matches.TotalPages</p>
|
2018-06-07 15:13:07 +02:00
|
|
|
</div>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|