Skip to content

Commit

Permalink
Add Info Modal to /finalization page
Browse files Browse the repository at this point in the history
  • Loading branch information
dimak1 committed Sep 20, 2024
1 parent 3c1b83b commit b671a66
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 6 deletions.
3 changes: 2 additions & 1 deletion strr-web/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@
},
"helpModal": {
"header": "Need Help?",
"openButtonLabel": "Help with setting up an account"
"openButtonLabel": "Help with setting up an account",
"contactUs": "If you need help with setting up your BC Registries and Online Services account, please contact us."
}
},
"header": {
Expand Down
2 changes: 1 addition & 1 deletion strr-web/pages/account-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class="mb-6"
>
<p class="mb-10">
If you need help with setting up your BC Registries and Online Services account, please contact us.
{{ t('account.helpModal.contactUs') }}
</p>
</InfoModal>
<BcrosAlertsMessage :flavour="alertFlavour">
Expand Down
2 changes: 1 addition & 1 deletion strr-web/pages/application-status.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div data-test-id="account-select-page">
<div data-test-id="application-status-page">
<BcrosTypographyH1
:text="tRegistrationStatus('title')"
data-test-id="account-page-title"
Expand Down
10 changes: 10 additions & 0 deletions strr-web/pages/finalization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
<p class="mb-[20px] mobile:px-[8px]">
{{ tFinalization('subtitle') }}
</p>
<InfoModal
:header="t('account.helpModal.header')"
:open-button-label="t('account.helpModal.openButtonLabel')"
class="mb-6"
>
<p class="mb-10">
{{ t('account.helpModal.contactUs') }}
</p>
</InfoModal>
<div class="desktop:mb-[132px] mobile:mb-[40px] pb-[32px] bg-white rounded-[4px] padding-[40px]">
<div class="bg-bcGovColor-gray2 rounded-t-[4px]">
<p class="px-[40px] mobile:px-[8px] py-[15px] font-bold">
Expand Down Expand Up @@ -102,6 +111,7 @@

<script setup lang="ts">
import { SbcCreationResponseE } from '~/enums/sbc-creation-response-e'
import InfoModal from '~/components/common/InfoModal.vue'
const { t } = useTranslation()
const tFinalization = (translationKey: string) => t(`finalization.${translationKey}`)
Expand Down
2 changes: 1 addition & 1 deletion strr-web/pages/listing-details/[listingId].vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div data-test-id="account-select-page">
<div data-test-id="listing-details-page">
<BcrosTypographyH1
:text="tApplicationConfirm('submitted')"
data-test-id="account-page-title"
Expand Down
2 changes: 1 addition & 1 deletion strr-web/pages/success/[id].vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div data-test-id="account-select-page">
<div data-test-id="application-submitted-page">
<BcrosTypographyH1
:text="tApplicationConfirm('submitted')"
data-test-id="account-page-title"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div data-test-id="account-select-page">
<div data-test-id="invoice-page">
<BcrosTypographyH1
:text="tApplicationConfirm('submitted')"
data-test-id="account-page-title"
Expand Down

0 comments on commit b671a66

Please sign in to comment.