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

Commit

Permalink
feat: Upgrade govuk frontend (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble authored Jul 29, 2024
1 parent 1e19d5b commit 458a780
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion module/Olcs/view/layouts/base.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $isLoggedIn = $currentUser->isLoggedIn();
} ?>
</head>

<body class="govuk-template__body app-body-class selfserve" id="<?php echo $this->pageId(); ?>">
<body class="govuk-template__body app-body-class selfserve govuk-frontend-supported" id="<?php echo $this->pageId(); ?>">
<?php
$userId = $currentUser->getUniqueId();
if (!empty($userId)) {
Expand Down Expand Up @@ -325,5 +325,9 @@ $isLoggedIn = $currentUser->isLoggedIn();
<script>
var cookieConfig = <?php echo $this->cookieManager();?>;
</script>
<script type="module">
import { initAll } from '<?php echo $this->assetPath('js/govuk-frontend.min.js'); ?>'
initAll()
</script>
</body>
</html>

0 comments on commit 458a780

Please sign in to comment.