implement profile data persistence
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
LOAD reset_unlocked 0
|
||||
MOUT my_balance 1
|
||||
MOUT community_balance 2
|
||||
MOUT back 0
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
LOAD reset_unlocked 0
|
||||
LOAD get_profile_info 0
|
||||
MOUT edit_name 1
|
||||
MOUT edit_gender 2
|
||||
MOUT edit_yob 3
|
||||
|
||||
1
services/registration/enter_familyname
Normal file
1
services/registration/enter_familyname
Normal file
@@ -0,0 +1 @@
|
||||
Enter family name:
|
||||
6
services/registration/enter_familyname.vis
Normal file
6
services/registration/enter_familyname.vis
Normal file
@@ -0,0 +1,6 @@
|
||||
LOAD save_firstname 0
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
INCMP select_gender *
|
||||
|
||||
0
services/registration/enter_familyname_swa
Normal file
0
services/registration/enter_familyname_swa
Normal file
@@ -1,3 +1,5 @@
|
||||
LOAD save_yob 0
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
INCMP enter_offerings *
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
INCMP enter_familyname *
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
LOAD save_location 0
|
||||
CATCH incorrect_pin 15 1
|
||||
CATCH update_success 16 1
|
||||
MOUT back 0
|
||||
HALT
|
||||
LOAD save_offerings 0
|
||||
INCMP _ 0
|
||||
INCMP pin_entry *
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
LOAD save_gender 0
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
INCMP enter_location *
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
LOAD reset_unlock_for_update 0
|
||||
MOUT profile 1
|
||||
MOUT change_language 2
|
||||
MOUT check_balance 3
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
LOAD save_familyname 0
|
||||
MOUT male 1
|
||||
MOUT female 2
|
||||
MOUT other_gender 3
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
INCMP enter_yob 1
|
||||
INCMP enter_yob 2
|
||||
INCMP enter_yob 3
|
||||
|
||||
1
services/registration/update_success
Normal file
1
services/registration/update_success
Normal file
@@ -0,0 +1 @@
|
||||
Profile updated successfully
|
||||
3
services/registration/update_success.vis
Normal file
3
services/registration/update_success.vis
Normal file
@@ -0,0 +1,3 @@
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP ^ 0
|
||||
1
services/registration/update_success_swa
Normal file
1
services/registration/update_success_swa
Normal file
@@ -0,0 +1 @@
|
||||
Akaunti imeupdatiwa
|
||||
2
services/registration/view_profile
Normal file
2
services/registration/view_profile
Normal file
@@ -0,0 +1,2 @@
|
||||
My profile:
|
||||
{{.get_profile_info}}
|
||||
@@ -1 +1,8 @@
|
||||
LOAD get_profile_info 0
|
||||
MAP get_profile_info
|
||||
LOAD reset_incorrect 0
|
||||
CATCH incorrect_pin 15 1
|
||||
CATCH pin_entry 12 0
|
||||
MOUT back 0
|
||||
HALT
|
||||
INCMP _ 0
|
||||
|
||||
1
services/registration/view_profile_swa
Normal file
1
services/registration/view_profile_swa
Normal file
@@ -0,0 +1 @@
|
||||
Wasifu wangu
|
||||
Reference in New Issue
Block a user