diff --git a/themes/bootstrap3/templates/myresearch/mylist.phtml b/themes/bootstrap3/templates/myresearch/mylist.phtml index 3c4893f788d4ef7cb97f63ef14bd1c987f7d0a6f..0c3ace56786c59de887c0aa615b78c8a4087030d 100644 --- a/themes/bootstrap3/templates/myresearch/mylist.phtml +++ b/themes/bootstrap3/templates/myresearch/mylist.phtml @@ -29,17 +29,19 @@ <div class="<?=$this->layoutClass('mainbody')?>"> <h2><?=$list ? $this->escapeHtml($list->title) : $this->transEsc("Your Favorites")?></h2> - <div class="search-header"> - <? if ($recordTotal > 0): ?> - <? - $transParams = [ - '%%start%%' => $this->localizedNumber($this->results->getStartRecord()), - '%%end%%' => $this->localizedNumber($this->results->getEndRecord()), - '%%total%%' => $this->localizedNumber($recordTotal) - ]; - ?> - <span class="search-stats"><?=$this->translate('showing_items_of_html', $transParams); ?></span> - <? endif; ?> + <nav class="search-header hidden-print"> + <div class="search-stats"> + <? if ($recordTotal > 0): ?> + <? + $transParams = [ + '%%start%%' => $this->localizedNumber($this->results->getStartRecord()), + '%%end%%' => $this->localizedNumber($this->results->getEndRecord()), + '%%total%%' => $this->localizedNumber($recordTotal) + ]; + ?> + <?=$this->translate('showing_items_of_html', $transParams); ?> + <? endif; ?> + </div> <div class="search-controls"> <? if (isset($list)): ?> <? if ($list->editAllowed($account->isLoggedIn())): ?> @@ -55,14 +57,16 @@ </div> <? endif; ?> <? endif; ?> + <? if ($recordTotal > 0): ?> + <?=$this->render('search/controls/limit.phtml')?> + <?=$this->render('search/controls/sort.phtml')?> + <? endif; ?> </div> - </div> -<? if ($list && !empty($list->description)): ?> - <p><?=$this->escapeHtml($list->description)?></p> -<? endif; ?> + </nav> + <? if ($list && !empty($list->description)): ?> + <p><?=$this->escapeHtml($list->description)?></p> + <? endif; ?> <? if ($recordTotal > 0): ?> - <?=$this->render('search/controls/limit.phtml')?> - <?=$this->render('search/controls/sort.phtml')?> <form class="form-inline" method="post" name="bulkActionForm" action="<?=$this->url('cart-myresearchbulk')?>" data-lightbox data-lightbox-onsubmit="bulkFormHandler"> <?=$this->context($this)->renderInContext('myresearch/bulk-action-buttons.phtml', ['idPrefix' => '', 'list' => isset($list) ? $list : null, 'account' => $this->account])?> <? foreach ($this->results->getResults() as $i=>$current): ?>