-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #418 from commercetools/rework-personal-details
Rework personal details
- Loading branch information
Showing
14 changed files
with
193 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,22 @@ | |
"header" : { "$ref" : "common/header.json" }, | ||
"footer" : { "$ref" : "common/footer.json" }, | ||
"content" : { | ||
"salutations" : { "$ref" : "form/choose-title-1.json" } | ||
"signUpForm" : { | ||
"salutations" : { "$ref" : "form/choose-title-1.json" }, | ||
"firstName" : "Bruce", | ||
"lastName" : "Wayne", | ||
"email" : "[email protected]", | ||
"subscribeToNewsletter" : true, | ||
"agreeToTerms" : true, | ||
"messages" : { "$ref" : "form/messages.json" }, | ||
"errors" : { "$ref" : "form/errors.json" } | ||
}, | ||
"logInForm" : { | ||
"username" : "[email protected]", | ||
"rememberMe" : true, | ||
"messages" : { "$ref" : "form/messages.json" }, | ||
"errors" : { "$ref" : "form/errors.json" } | ||
} | ||
}, | ||
"meta" : { "$ref" : "common/meta.json" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,46 +2,19 @@ | |
"header" : { "$ref" : "common/header.json" }, | ||
"footer" : { "$ref" : "common/footer.json" }, | ||
"content" : { | ||
"welcomeName" : "Bruce Wayne", | ||
"customerNumber" : "1010101069691010", | ||
"personalDetailsRequired" : "Required", | ||
"personalDetails" : { | ||
"name" : "Mr. Bruce Wayne", | ||
"password" : "Password: ********", | ||
"phone" : "Phone: +49 123 123 123 123", | ||
"email" : "[email protected]", | ||
"subscribed" : "Subscribed to weekly newsletter", | ||
"editBtn" : "Edit" | ||
"customerInfo" : { | ||
"customer" : { "$ref" : "common/customer-1.json" }, | ||
"subscribed" : true | ||
}, | ||
"editPersonalDetails" : { | ||
"title" : "Title", | ||
"titleOptions" : [ | ||
{ | ||
"text" : "Choose your title", | ||
"value" : "choose your title", | ||
"disabled" : true, | ||
"selected" : true | ||
}, | ||
{ | ||
"text" : "Mr.", | ||
"value" : "mr", | ||
"selected" : false | ||
}, | ||
{ | ||
"text" : "Mrs.", | ||
"value" : "mrs", | ||
"selected" : false | ||
} | ||
], | ||
"firstName" : "First Name", | ||
"primaryPhone" : "Primary Telephone Number", | ||
"formNotesOne" : "Please provide your lorem ipsun, bla bla bla, Please provide your lorem ipsun, bla bla bla", | ||
"secondName" : "Second Name", | ||
"email" : "Email Address", | ||
"formNotesTwo" : "Please provide your lorem ipsun, bla bla bla, Please provide your lorem ipsun, bla bla bla" | ||
}, | ||
"addMeTo" : "Please add me to the", | ||
"newsletter" : "SUNRISE Newsletter" | ||
"personalDetailsForm" : { | ||
"salutations" : { "$ref" : "form/choose-title-1.json" }, | ||
"firstName" : "Bruce", | ||
"lastName" : "Wayne", | ||
"email" : "[email protected]", | ||
"subscribeToNewsletter" : true, | ||
"messages" : { "$ref" : "form/messages.json" }, | ||
"errors" : { "$ref" : "form/errors.json" } | ||
} | ||
}, | ||
"meta" : { "$ref" : "common/meta.json" } | ||
"meta" : { "$ref" : "common/meta.json" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"customerNumber" : "1010101069691010", | ||
"email" : "[email protected]", | ||
"firstName" : "Bruce", | ||
"lastName" : "Wayne", | ||
"title" : "Mr." | ||
} |
Oops, something went wrong.