diff --git a/_fonts/.DS_Store b/_fonts/.DS_Store
index 1002665fb0..ae8e260d82 100644
Binary files a/_fonts/.DS_Store and b/_fonts/.DS_Store differ
diff --git a/_prototypes/end-to-end/confirm-address.html b/_prototypes/end-to-end/confirm-address.html
deleted file mode 100644
index 5c8df7ca15..0000000000
--- a/_prototypes/end-to-end/confirm-address.html
+++ /dev/null
@@ -1,163 +0,0 @@
----
-title: Version 1
-project: End to end prototype
-globalcss: false
-layout: eq-default-extras
-footer: census-transactional
-assetPrefixUrl: https://sdc-global-design-patterns.netlify.com
-noONSLogoLink: true
----
-
-
-
-
-
-
-
-
-
-
-
diff --git a/_prototypes/end-to-end/confirm-rh-address.html b/_prototypes/end-to-end/confirm-rh-address.html
index 07ea3c2cd9..c7cdd15e56 100644
--- a/_prototypes/end-to-end/confirm-rh-address.html
+++ b/_prototypes/end-to-end/confirm-rh-address.html
@@ -51,7 +51,7 @@
-
+
@@ -74,6 +74,7 @@
diff --git a/_prototypes/end-to-end/index.html b/_prototypes/end-to-end/index.html
index 7f5191014b..d725ec437c 100644
--- a/_prototypes/end-to-end/index.html
+++ b/_prototypes/end-to-end/index.html
@@ -156,6 +156,22 @@
sessionStorage.setItem('address-town', document.getElementById('address-town').value);
sessionStorage.setItem('address-postcode', document.getElementById('address-postcode').value);
+ // Temporary manual update address type for CEs
+ var addressLine1 = document.getElementById('address-line-1').value.toLowerCase();
+ var addressLine2 = document.getElementById('address-line-2').value.toLowerCase();
+ var address = addressLine1 + addressLine2;
+ var array = [
+ "university",
+ "howden apartments",
+ "care home",
+ "halls of residence",
+ "hall of residence"
+ ];
+
+ if (array.some(val => address.includes(val))) {
+ sessionStorage.setItem('address-type', 'CE');
+ }
+
window.location = '../home/';
}
});
diff --git a/_prototypes/end-to-end/uac-entry.html b/_prototypes/end-to-end/uac-entry.html
index e92bcee760..1ad2f0c142 100644
--- a/_prototypes/end-to-end/uac-entry.html
+++ b/_prototypes/end-to-end/uac-entry.html
@@ -5,7 +5,6 @@
layout: eq-default-extras
footer: census-transactional
assetPrefixUrl: https://sdc-global-design-patterns.netlify.com
-hideSaveLater: true
logoUrl: ../home
---
@@ -130,7 +129,7 @@ address.includes(val))) {
sessionStorage.setItem('address-type', 'CE');
- var currentJourney = 'new-ce-resident-uac';
- } else {
- var currentJourney = urlParams.get('current-journey');
}
window.location = '../confirm-rh-address/?' + 'previous=' + 'uac-request-address' + '&' + 'current-journey=' + currentJourney;
}
});
- if(currentJourney === 'unlinked-uac'){
- $('.js-question-description').hide();
- $('.js-previous-link').hide();
- }
-
if (window.location.search == '?edit=true') {
function updateEditableAddress() {
$('#rh-proto-address').val(sessionStorage.getItem('address'));
@@ -182,6 +174,14 @@
}
function updateAllLinks() {
+
+ if(currentJourney === 'unlinked-uac'){
+ $('.js-question-description').hide();
+ $('.js-previous-link').hide();
+ } else if(currentJourney === 'address-correction'){
+ $('.js-question-description').hide();
+ }
+
if (previousPage) {
$('.js-previous-link').attr('href', '../' + previousPage);
} else {
diff --git a/_prototypes/end-to-end/uac-request-confirm-address.html b/_prototypes/end-to-end/uac-request-confirm-address.html
index 8a948276c9..1eb84ee4cf 100644
--- a/_prototypes/end-to-end/uac-request-confirm-address.html
+++ b/_prototypes/end-to-end/uac-request-confirm-address.html
@@ -134,6 +134,8 @@ Large print
} else {
$('.js-name-address').html('' + addresseeName + '' + ', ' + roomNumber + '
' + addressLine1);
}
+ } else {
+ $('.js-name-address').html('' + addresseeName + '' + '
' + addressLine1);
}
}