2019-10-07 20:13:31 +02:00
|
|
|
{{if $saved}}
|
2020-01-09 07:53:33 +01:00
|
|
|
<span id="saved-search-list-inflated" class="widget fakelink" style="display: block;" onclick="openClose('saved-search-list'); openClose('saved-search-list-inflated');">
|
|
|
|
<h3>{{$title}}</h3>
|
|
|
|
</span>
|
|
|
|
<div class="widget" id="saved-search-list" style="display: none;">
|
|
|
|
<span class="fakelink" onclick="openClose('saved-search-list'); openClose('saved-search-list-inflated');">
|
|
|
|
<h3 id="search">{{$title}}</h3>
|
|
|
|
</span>
|
2019-10-07 20:13:31 +02:00
|
|
|
<ul role="menu" id="saved-search-ul">
|
|
|
|
{{foreach $saved as $search}}
|
|
|
|
<li role="menuitem" class="saved-search-li clear">
|
2019-10-13 14:39:41 +02:00
|
|
|
<a href="search/saved/remove?term={{$search.encodedterm}}&return_url={{$return_url}}" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="savedsearchdrop pull-right widget-action faded-icon">
|
2019-10-07 20:13:31 +02:00
|
|
|
<i class="fa fa-trash" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
<a href="search?q={{$search.encodedterm}}" id="saved-search-term-{{$search.id}}" class="savedsearchterm">{{$search.term}}</a>
|
|
|
|
</li>
|
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|