From e46a225c08e5a6c893d690fa3302623360859f46 Mon Sep 17 00:00:00 2001 From: Sam Warren Date: Wed, 16 Oct 2024 10:27:28 -0600 Subject: [PATCH 1/4] DEVOPS-50: Typo fix --- .../support-details/support-details.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html b/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html index 448c09b408..594f95b3ea 100644 --- a/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html +++ b/responders/src/UI/embc-responder/src/app/feature-components/wizard/support-components/support-details/support-details.component.html @@ -335,7 +335,7 @@ @if (!checkDateRange()) { - Valid To Date cannot be greater then the 30 days from the Valid From Date } From 3d940528e94aca95ebd0212ff587e162e84381aa Mon Sep 17 00:00:00 2001 From: Sam Warren Date: Thu, 17 Oct 2024 10:04:34 -0600 Subject: [PATCH 2/4] DEVOPS-15 --- .../address-forms/can-address/can-address.component.html | 6 +++++- .../address-forms/can-address/can-address.component.ts | 1 + .../evacuee-profile-forms/address/address.component.html | 4 +++- .../profile-components/address/address.component.html | 4 +++- .../address-forms/can-address/can-address.component.html | 6 +++++- .../address-forms/can-address/can-address.component.ts | 1 + 6 files changed, 18 insertions(+), 4 deletions(-) diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html index d3fd910a76..482cfcef7c 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html @@ -1,4 +1,8 @@ -

Please enter your address

+@if (isMailingAddress) { +

Enter your mailing address

+} @else { +

Enter the address of your primary residence

+}
diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts index 766b505047..c504e81f2b 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts @@ -18,6 +18,7 @@ import { MatFormFieldModule } from '@angular/material/form-field'; }) export class CanAddressComponent implements OnInit { @Input() addressForm: UntypedFormGroup; + @Input() isMailingAddress: boolean; filteredOptions: Observable; provinces: StateProvince[] = []; country = { countryCode: 'CAN' }; diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html index d5a274f95a..bfbba83573 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html @@ -90,6 +90,7 @@ @@ -190,7 +191,7 @@
-

In what country is your primary residence located?

+

In what country is your Mailing Address located?

diff --git a/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html b/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html index 67656d3610..fe4ab3844a 100644 --- a/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html +++ b/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html @@ -99,6 +99,7 @@ @@ -191,7 +192,7 @@
-

In what country is your primary residence located?

+

In what country is your Mailing Address located?

diff --git a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html index ede768a3a9..d902c142be 100644 --- a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html +++ b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html @@ -1,4 +1,8 @@ -

Enter the address of your primary residence

+@if (isMailingAddress) { +

Enter your mailing address

+} @else { +

Enter the address of your primary residence

+}
diff --git a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts index b947b3e93e..c82574a249 100644 --- a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts +++ b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts @@ -29,6 +29,7 @@ import { MatFormField, MatLabel, MatError } from '@angular/material/form-field'; }) export class CanAddressComponent implements OnInit { @Input() addressForm: UntypedFormGroup; + @Input() isMailingAddress: boolean; filteredOptions: Observable; provinces: StateProvince[] = []; country = { countryCode: 'CAN' }; From 394af95b45d2bb8f9a8b760e682a6aed7d0b16ca Mon Sep 17 00:00:00 2001 From: Sam Warren Date: Fri, 18 Oct 2024 09:46:50 -0600 Subject: [PATCH 3/4] DEVOPS-15: Updates from business feedback --- .../evacuee-profile-forms/address/address.component.html | 4 ++-- .../wizard/profile-components/address/address.component.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html index bfbba83573..da6d06d6de 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html @@ -126,7 +126,7 @@
Is your mailing address the same as your primary residence above?
-

In what country is your Mailing Address located?

+

In what country is your mailing address located?

-

In what country is your Mailing Address located?

+

In what country is your mailing address located?

Date: Fri, 18 Oct 2024 10:52:50 -0600 Subject: [PATCH 4/4] DEVOPS-15: Update language on responders and registrants address section --- .../can-address/can-address.component.html | 5 -- .../can-address/can-address.component.ts | 1 - .../address/address.component.html | 54 +++++++++--------- .../address/address.component.html | 56 +++++++++---------- .../can-address/can-address.component.html | 5 -- .../can-address/can-address.component.ts | 1 - 6 files changed, 52 insertions(+), 70 deletions(-) diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html index 482cfcef7c..9c21c60bd2 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.html @@ -1,8 +1,3 @@ -@if (isMailingAddress) { -

Enter your mailing address

-} @else { -

Enter the address of your primary residence

-}
diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts index c504e81f2b..766b505047 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/address-forms/can-address/can-address.component.ts @@ -18,7 +18,6 @@ import { MatFormFieldModule } from '@angular/material/form-field'; }) export class CanAddressComponent implements OnInit { @Input() addressForm: UntypedFormGroup; - @Input() isMailingAddress: boolean; filteredOptions: Observable; provinces: StateProvince[] = []; country = { countryCode: 'CAN' }; diff --git a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html index da6d06d6de..d543807798 100644 --- a/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html +++ b/registrants/src/UI/embc-registrant/src/app/sharedModules/forms/evacuee-profile-forms/address/address.component.html @@ -42,6 +42,7 @@
+

Enter the address of your primary residence

@@ -86,30 +87,27 @@
- - - +
+

Enter the address of your primary residence

+ +
- - +
+

Enter the address of your primary residence

+ +
- - +

Enter the address of your primary residence

+ +
@@ -182,6 +180,7 @@
+

Enter your mailing address

@@ -225,30 +224,29 @@
- - - +
+

Enter your mailing address

+ +
- - +

Enter your mailing address

+ +
- - +

Enter your mailing address

+ +
diff --git a/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html b/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html index 00fb211f26..d0069de0e5 100644 --- a/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html +++ b/responders/src/UI/embc-responder/src/app/feature-components/wizard/profile-components/address/address.component.html @@ -52,6 +52,7 @@
+

Enter the address of your primary residence

@@ -95,30 +96,27 @@
- - - +
+

Enter the address of your primary residence

+ +
- - +
+

Enter the address of your primary residence

+ +
- - +

Enter the address of your primary residence

+ +
@@ -184,6 +182,7 @@
+

Enter your mailing address

@@ -230,30 +229,27 @@
- - - +
+

Enter your mailing address

+ +
- - +
+

Enter your mailing address

+ +
- - +

Enter your mailing address

+ +
diff --git a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html index d902c142be..2845c61508 100644 --- a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html +++ b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.html @@ -1,8 +1,3 @@ -@if (isMailingAddress) { -

Enter your mailing address

-} @else { -

Enter the address of your primary residence

-}
diff --git a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts index c82574a249..b947b3e93e 100644 --- a/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts +++ b/responders/src/UI/embc-responder/src/app/shared/forms/address-forms/can-address/can-address.component.ts @@ -29,7 +29,6 @@ import { MatFormField, MatLabel, MatError } from '@angular/material/form-field'; }) export class CanAddressComponent implements OnInit { @Input() addressForm: UntypedFormGroup; - @Input() isMailingAddress: boolean; filteredOptions: Observable; provinces: StateProvince[] = []; country = { countryCode: 'CAN' };