Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: Fix application status tag cases. (#174)
Browse files Browse the repository at this point in the history
* fix: Fix application status tag cases.

* fix: Fix application status tag cases.

fix: Fix application status tag cases.

fix: Stop rendering empty nav menu on sign-in page.
  • Loading branch information
fibble committed Aug 2, 2024
1 parent 6040aa2 commit 771d4bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/Olcs/view/layouts/base.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ $isLoggedIn = $currentUser->isLoggedIn();
: $this->translate('header-vehicle-operator-licensing');
?>
</a>
<?php if ($isLoggedIn): ?>
<nav aria-label="Menu" class="govuk-header__navigation">
<button type="button" class="govuk-header__menu-button govuk-js-header-toggle" aria-controls="navigation" aria-label="<?php echo $this->escapeHtml($this->translate('show.or.hide.top.level.navigation')); ?>">
<?php echo $this->escapeHtml($this->translate('menu')); ?>
</button>
<?php
if ($isLoggedIn) {
// get Home navigation
$navigation = $this->navigation('navigation')->getContainer()->findBy('id', 'home');

Expand All @@ -219,9 +219,9 @@ $isLoggedIn = $currentUser->isLoggedIn();

// This seems irrelevant, but it's very important as the partial is set elsewhere
$menu->setPartial(null);
}
?>
</nav>
<?php endif; ?>
</div>
</div>
</header>
Expand Down

0 comments on commit 771d4bd

Please sign in to comment.