diff options
Diffstat (limited to 'view/tpl/saved_searches.tpl')
-rw-r--r-- | view/tpl/saved_searches.tpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/view/tpl/saved_searches.tpl b/view/tpl/saved_searches.tpl new file mode 100644 index 000000000..ff2d044ef --- /dev/null +++ b/view/tpl/saved_searches.tpl @@ -0,0 +1,12 @@ +<div class="widget saved-search-widget clearfix"> + <h3 id="search">{{$title}}</h3> + {{$searchbox}} + <ul id="saved-search-list" class="nav nav-pills flex-column"> + {{foreach $saved as $search}} + <li class="nav-item nav-item-hack" id="search-term-{{$search.id}}"> + <a class="nav-link widget-nav-pills-icons" title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="{{$search.dellink}}"><i id="dropfa-floppy-od-search-term-{{$search.id}}" class="fa fa-trash-o drop-icons" ></i></a> + <a id="saved-search-term-{{$search.id}}" class="nav-link{{if $search.selected}} active{{/if}}" href="{{$search.srchlink}}">{{$search.displayterm}}</a> + </li> + {{/foreach}} + </ul> +</div> |