Skip to content
Snippets Groups Projects
Commit 4d4f00c5 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed problems with saved searches in bootstrap3 theme

- Restored missing "purge" button
- Made icons more consistent
parent 38b434e5
No related merge requests found
......@@ -17,6 +17,7 @@
<h2><?=$this->transEsc("history_recent_searches")?></h2>
<? if (!empty($this->unsaved)): ?>
<?=$this->context()->renderInContext('search/history-table.phtml', array('showSaved' => false));?>
<a href="?purge=true"><i class="fa fa-remove"></i> <?=$this->transEsc("history_purge")?></a>
<? else: ?>
<?=$this->transEsc("history_no_searches")?>
<? endif; ?>
......
......@@ -114,9 +114,9 @@
&mdash;
<? if (is_numeric($this->results->getSearchId())): ?>
<? if ($this->results->isSavedSearch()): ?>
<i class="fa fa-minus-square"></i> <a href="<?=$this->url('myresearch-savesearch')?>?delete=<?=urlencode($this->results->getSearchId())?>"><?=$this->transEsc('save_search_remove')?></a>
<i class="fa fa-remove"></i> <a href="<?=$this->url('myresearch-savesearch')?>?delete=<?=urlencode($this->results->getSearchId())?>"><?=$this->transEsc('save_search_remove')?></a>
<? else: ?>
<i class="fa fa-plus-square"></i> <a href="<?=$this->url('myresearch-savesearch')?>?save=<?=urlencode($this->results->getSearchId())?>"><?=$this->transEsc('save_search')?></a>
<i class="fa fa-save"></i> <a href="<?=$this->url('myresearch-savesearch')?>?save=<?=urlencode($this->results->getSearchId())?>"><?=$this->transEsc('save_search')?></a>
<? endif; ?>
<? endif; ?>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment