From 15817131610d16345cc8455084ff35f42b2745f8 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Tue, 28 Apr 2020 15:08:33 -0400 Subject: [PATCH] Fix header order. --- .../templates/RecordTab/similaritemscarousel.phtml | 2 +- themes/bootstrap3/templates/Related/Similar.phtml | 2 +- themes/bootstrap3/templates/myresearch/menu.phtml | 5 +++-- themes/bootstrap3/templates/search/advanced/layout.phtml | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml b/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml index 17c2652ffdd..282c490720e 100644 --- a/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml +++ b/themes/bootstrap3/templates/RecordTab/similaritemscarousel.phtml @@ -1,4 +1,4 @@ -<h4><?=$this->transEsc('Similar Items')?></h4> +<h2><?=$this->transEsc('Similar Items')?></h2> <?php $similarRecords = $this->tab->getResults(); ?> <?php if (!empty($similarRecords)): ?> <?php $perPage = 4 ?> diff --git a/themes/bootstrap3/templates/Related/Similar.phtml b/themes/bootstrap3/templates/Related/Similar.phtml index feeab41e8e8..6a009dc27af 100644 --- a/themes/bootstrap3/templates/Related/Similar.phtml +++ b/themes/bootstrap3/templates/Related/Similar.phtml @@ -1,4 +1,4 @@ -<h4><?=$this->transEsc('Similar Items')?></h4> +<h2><?=$this->transEsc('Similar Items')?></h2> <?php $similarRecords = $this->related->getResults(); ?> <?php if (!empty($similarRecords)): ?> <ul class="list-group"> diff --git a/themes/bootstrap3/templates/myresearch/menu.phtml b/themes/bootstrap3/templates/myresearch/menu.phtml index 8237e4e615b..9f84f744c33 100644 --- a/themes/bootstrap3/templates/myresearch/menu.phtml +++ b/themes/bootstrap3/templates/myresearch/menu.phtml @@ -4,7 +4,7 @@ $capabilityParams = $patron ? ['patron' => $patron] : []; ?> <button class="close-offcanvas btn btn-link" data-toggle="offcanvas"><?=$this->transEsc('navigate_back') ?></button> -<h4><?=$this->transEsc('Your Account')?></h4> +<h3><?=$this->transEsc('Your Account')?></h3> <div class="myresearch-menu account-menu"> <?php if ($this->userlist()->getMode() !== 'disabled'): ?> <a href="<?=$this->url('myresearch-favorites')?>"<?=$this->active == 'favorites' ? ' class="active"' : ''?>> @@ -67,8 +67,9 @@ </a> <?php endif; ?> </div> + <?php if ($user && $this->userlist()->getMode() !== 'disabled'): ?> - <h4><?=$this->transEsc('Your Lists')?></h4> + <h3><?=$this->transEsc('Your Lists')?></h3> <div class="myresearch-menu"> <a href="<?=$this->url('myresearch-favorites')?>"<?=$this->active == 'favorites' ? ' class="active"' : ''?>> <i class="fa fa-fw fa-star" aria-hidden="true"></i> <?=$this->transEsc('Your Favorites')?> diff --git a/themes/bootstrap3/templates/search/advanced/layout.phtml b/themes/bootstrap3/templates/search/advanced/layout.phtml index c5eee37583c..19df9960891 100644 --- a/themes/bootstrap3/templates/search/advanced/layout.phtml +++ b/themes/bootstrap3/templates/search/advanced/layout.phtml @@ -177,7 +177,7 @@ </div> <?php endforeach; ?> <?php endif; ?> - <h4><?=$this->transEsc("Search Tips")?></h4> + <h2><?=$this->transEsc("Search Tips")?></h2> <div class="facet-group"> <a class="facet help-link" data-lightbox href="<?=$this->url('help-home')?>?topic=advsearch&_=<?=time() ?>"><?=$this->transEsc("Help with Advanced Search")?></a> <a class="facet help-link" data-lightbox href="<?=$this->url('help-home')?>?topic=search&_=<?=time() ?>"><?=$this->transEsc("Help with Search Operators")?></a> -- GitLab