diff options
Diffstat (limited to 'view/tpl/_saved_searches_aside.tpl')
-rwxr-xr-x | view/tpl/_saved_searches_aside.tpl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/view/tpl/_saved_searches_aside.tpl b/view/tpl/_saved_searches_aside.tpl new file mode 100755 index 000000000..2ca2ef6ea --- /dev/null +++ b/view/tpl/_saved_searches_aside.tpl @@ -0,0 +1,15 @@ +<div class="panel panel-default" id="saved-search-list"> +<div class="panel-heading"> <h3 class="panel-title" id="search">{{$title}}</h3></div> +<div class="panel-body"> + {{$searchbox}} + + <ul id="saved-search-ul"> + {{foreach $saved as $search}} + <li id="search-term-{{$search.id}}" class="saved-search-li clear"> + <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="network/?f=&remove=1&search={{$search.encodedterm}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove drop-icons iconspacer savedsearchdrop" ></i></a> + <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&search={{$search.encodedterm}}">{{$search.displayterm}}</a> + </li> + {{/foreach}} + </ul></div> + <div class="clear"></div> +</div> |