From 3e258a35fa851a2c84fe9d4bfd998a94e7c8b2a7 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Thu, 7 Nov 2024 11:58:25 +0300 Subject: [PATCH] show currently set profile information --- services/registration/edit_family_name | 2 ++ services/registration/edit_family_name.vis | 10 ++++++++++ services/registration/edit_family_name_menu | 1 + services/registration/edit_family_name_menu_swa | 1 + services/registration/edit_family_name_swa | 2 ++ services/registration/edit_first_name | 2 ++ services/registration/edit_first_name_menu | 1 + services/registration/edit_first_name_swa | 2 ++ services/registration/edit_location | 1 + services/registration/edit_location_swa | 1 + services/registration/edit_offerings | 1 + services/registration/edit_offerings_swa | 1 + services/registration/edit_yob | 1 + services/registration/edit_yob.vis | 1 + services/registration/edit_yob_swa | 1 + services/registration/select_gender | 1 + services/registration/select_gender.vis | 6 ++---- 17 files changed, 31 insertions(+), 4 deletions(-) create mode 100644 services/registration/edit_family_name create mode 100644 services/registration/edit_family_name.vis create mode 100644 services/registration/edit_family_name_menu create mode 100644 services/registration/edit_family_name_menu_swa create mode 100644 services/registration/edit_family_name_swa create mode 100644 services/registration/edit_first_name create mode 100644 services/registration/edit_first_name_menu create mode 100644 services/registration/edit_first_name_swa diff --git a/services/registration/edit_family_name b/services/registration/edit_family_name new file mode 100644 index 0000000..2170a7e --- /dev/null +++ b/services/registration/edit_family_name @@ -0,0 +1,2 @@ +Current familyname: {{.get_current_profile_info}} +Enter family name: \ No newline at end of file diff --git a/services/registration/edit_family_name.vis b/services/registration/edit_family_name.vis new file mode 100644 index 0000000..1d71939 --- /dev/null +++ b/services/registration/edit_family_name.vis @@ -0,0 +1,10 @@ +CATCH incorrect_pin flag_incorrect_pin 1 +CATCH update_familyname flag_allow_update 1 +LOAD get_current_profile_info 0 +RELOAD get_current_profile_info +MOUT back 0 +HALT +LOAD save_familyname 0 +RELOAD save_familyname +INCMP _ 0 +INCMP pin_entry * diff --git a/services/registration/edit_family_name_menu b/services/registration/edit_family_name_menu new file mode 100644 index 0000000..21a9033 --- /dev/null +++ b/services/registration/edit_family_name_menu @@ -0,0 +1 @@ +Edit family name \ No newline at end of file diff --git a/services/registration/edit_family_name_menu_swa b/services/registration/edit_family_name_menu_swa new file mode 100644 index 0000000..48a38b2 --- /dev/null +++ b/services/registration/edit_family_name_menu_swa @@ -0,0 +1 @@ +Weka jina la familia \ No newline at end of file diff --git a/services/registration/edit_family_name_swa b/services/registration/edit_family_name_swa new file mode 100644 index 0000000..a1a1cab --- /dev/null +++ b/services/registration/edit_family_name_swa @@ -0,0 +1,2 @@ +Jina la familia la sasa: {{.get_current_profile_info}} +Weka jina la familia \ No newline at end of file diff --git a/services/registration/edit_first_name b/services/registration/edit_first_name new file mode 100644 index 0000000..3d141ee --- /dev/null +++ b/services/registration/edit_first_name @@ -0,0 +1,2 @@ +Current name: {{.get_current_profile_info}} +Enter your first names: \ No newline at end of file diff --git a/services/registration/edit_first_name_menu b/services/registration/edit_first_name_menu new file mode 100644 index 0000000..c7383b7 --- /dev/null +++ b/services/registration/edit_first_name_menu @@ -0,0 +1 @@ +Edit name \ No newline at end of file diff --git a/services/registration/edit_first_name_swa b/services/registration/edit_first_name_swa new file mode 100644 index 0000000..3fdd986 --- /dev/null +++ b/services/registration/edit_first_name_swa @@ -0,0 +1,2 @@ +Jina la kwanza la sasa {{.get_current_profile_info}} +Weka majina yako ya kwanza: \ No newline at end of file diff --git a/services/registration/edit_location b/services/registration/edit_location index 675b835..4e11d1a 100644 --- a/services/registration/edit_location +++ b/services/registration/edit_location @@ -1 +1,2 @@ +Current location: {{.get_current_profile_info}} Enter your location: \ No newline at end of file diff --git a/services/registration/edit_location_swa b/services/registration/edit_location_swa index 41682a2..0a3476e 100644 --- a/services/registration/edit_location_swa +++ b/services/registration/edit_location_swa @@ -1 +1,2 @@ +Eneo la sasa {{.get_current_profile_info}} Weka eneo: \ No newline at end of file diff --git a/services/registration/edit_offerings b/services/registration/edit_offerings index a9333ba..5bb0e7f 100644 --- a/services/registration/edit_offerings +++ b/services/registration/edit_offerings @@ -1 +1,2 @@ +Current offerings: {{.get_current_profile_info}} Enter the services or goods you offer: \ No newline at end of file diff --git a/services/registration/edit_offerings_swa b/services/registration/edit_offerings_swa index f37e125..cd81497 100644 --- a/services/registration/edit_offerings_swa +++ b/services/registration/edit_offerings_swa @@ -1 +1,2 @@ +Unachouza kwa sasa: {{.get_current_profile_info}} Weka unachouza \ No newline at end of file diff --git a/services/registration/edit_yob b/services/registration/edit_yob index 54e039e..105812b 100644 --- a/services/registration/edit_yob +++ b/services/registration/edit_yob @@ -1 +1,2 @@ +Current year of birth: {{.get_current_profile_info}} Enter your year of birth \ No newline at end of file diff --git a/services/registration/edit_yob.vis b/services/registration/edit_yob.vis index 3cb7bd0..a260531 100644 --- a/services/registration/edit_yob.vis +++ b/services/registration/edit_yob.vis @@ -2,6 +2,7 @@ CATCH incorrect_pin flag_incorrect_pin 1 CATCH update_yob flag_allow_update 1 LOAD get_current_profile_info 0 RELOAD get_current_profile_info +MAP get_current_profile_info MOUT back 0 HALT LOAD verify_yob 0 diff --git a/services/registration/edit_yob_swa b/services/registration/edit_yob_swa index 9bb272a..e0b5708 100644 --- a/services/registration/edit_yob_swa +++ b/services/registration/edit_yob_swa @@ -1 +1,2 @@ +Mwaka wa sasa wa kuzaliwa {{.get_current_profile_info}} Weka mwaka wa kuzaliwa \ No newline at end of file diff --git a/services/registration/select_gender b/services/registration/select_gender index f8a6f47..22b9be9 100644 --- a/services/registration/select_gender +++ b/services/registration/select_gender @@ -1 +1,2 @@ +Current gender: {{.get_current_profile_info}} Select gender: \ No newline at end of file diff --git a/services/registration/select_gender.vis b/services/registration/select_gender.vis index 1082cef..c1a00f5 100644 --- a/services/registration/select_gender.vis +++ b/services/registration/select_gender.vis @@ -1,5 +1,7 @@ CATCH incorrect_pin flag_incorrect_pin 1 CATCH profile_update_success flag_allow_update 1 +LOAD get_current_profile_info 0 +RELOAD get_current_profile_info MOUT male 1 MOUT female 2 MOUT unspecified 3 @@ -9,7 +11,3 @@ INCMP _ 0 INCMP set_male 1 INCMP set_female 2 INCMP set_unspecified 3 - - - -