summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www')
-rwxr-xr-xStoneIsland/platforms/ios/www/index.html18
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/auth/SignupView.js4
2 files changed, 6 insertions, 16 deletions
diff --git a/StoneIsland/platforms/ios/www/index.html b/StoneIsland/platforms/ios/www/index.html
index bdad67c8..b6fc8317 100755
--- a/StoneIsland/platforms/ios/www/index.html
+++ b/StoneIsland/platforms/ios/www/index.html
@@ -425,7 +425,7 @@
<div class="checkbox-container ">
<div class="checkbox-row">
<div class="checkbox-toggle">
- <input type="checkbox" id="checkbox-data-profiling" name="DataProfiling" value="true" required tabindex="8">
+ <input type="checkbox" id="checkbox-data-profiling" name="YooxLetter" value="true" required tabindex="8">
<label for="checkbox-data-profiling"></label>
</div>
<label class="checkbox-caption" for="checkbox-data-profiling">
@@ -443,11 +443,11 @@
</div>
<div class="checkbox-row">
<div class="checkbox-toggle">
- <input type="checkbox" id="checkbox-shopping-account-terms" name="AccountTerms" value="true" required tabindex="10">
+ <input type="checkbox" id="checkbox-shopping-account-terms" name="GdprTerms" value="true" required tabindex="10">
<label for="checkbox-shopping-data-profiling"></label>
</div>
<label class="checkbox-caption" for="checkbox-shopping-account-terms">
- ACCEPT MY ACCOUNT TERMS AND CONDITIONS OF USE *
+ I ACCEPT MY ACCOUNT TERMS AND CONDITIONS OF USE *
</label>
</div>
<div class="container-message submessage">
@@ -492,17 +492,7 @@
<div class="checkbox-container">
<div class="checkbox-row">
<div class="checkbox-toggle">
- <input type="checkbox" id="receive-newsletter-profile" name="YooxLetter" value="true" required tabindex="6">
- <label for="receive-newsletter-profile"></label>
- </div>
- <label class="checkbox-caption" for="receive-newsletter-profile">
- <b>Newsletter</b><br>
- Receive Stone Island Newsletter
- </label>
- </div>
- <div class="checkbox-row">
- <div class="checkbox-toggle">
- <input type="checkbox" id="checkbox-data-profiling-profile" name="DataProfiling" value="true" required tabindex="7">
+ <input type="checkbox" id="checkbox-data-profiling-profile" name="YooxLetter" value="true" required tabindex="7">
<label for="checkbox-data-profiling-profile"></label>
</div>
<label class="checkbox-caption" for="checkbox-data-profiling-profile">
diff --git a/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js b/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js
index 917644d2..ef7dd6aa 100755
--- a/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/auth/SignupView.js
@@ -53,7 +53,7 @@ var SignupView = FormView.extend({
"Password": "Please enter your password.",
"Password2": "Please enter your password again.",
"DataProfiling": "You must consent to data profiling to use the Stone Island app.",
- "AccountTerms": "You must agree to the Your My Account terms.",
+ "GdprTerms": "You must agree to the Your My Account terms.",
},
validate_fields: function(data, errors){
@@ -64,7 +64,7 @@ var SignupView = FormView.extend({
if (data.Email.toLowerCase() !== data.ConfirmEmail.toLowerCase()) { errors.push([ "ConfirmEmail", "Email addresses don't match." ]) }
// if (data.Gender === "NONE") { errors.push([ "Gender", "Please supply your gender." ]) }
if (data.DataProfiling !== "true") { errors.push([ "DataProfiling", "You must consent to data profiling to use the Stone Island app." ]) }
- if (data.AccountTerms !== "true") { errors.push([ "AccountTerms", "You must agree to the Your My Account terms to use the Stone Island app." ]) }
+ if (data.GdprTerms !== "true") { errors.push([ "GdprTerms", "You must agree to the Your My Account terms to use the Stone Island app." ]) }
var now = new Date ()
var year = now.getFullYear()