gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] 05/08: fix changing continent


From: gnunet
Subject: [taler-anastasis] 05/08: fix changing continent
Date: Fri, 09 Oct 2020 12:03:46 +0200

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a commit to branch master
in repository anastasis.

commit 644a9f032c7095323fe95e7415049cf97f31edaf
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Thu Oct 8 11:59:39 2020 +0200

    fix changing continent
---
 contrib/Makefile.am           |  1 +
 contrib/redux.us.json         | 35 +++++++++++++++++++++++++++++++++++
 src/lib/anastasis_api_redux.c | 10 ++++++++++
 3 files changed, 46 insertions(+)

diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index ce6ed23..c82cb24 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -12,5 +12,6 @@ EXTRA_DIST = \
 pkgdata_DATA = \
   redux.ch.json \
   redux.de.json \
+  redux.us.json \
   redux.countries.json \
   provider-list.json
diff --git a/contrib/redux.us.json b/contrib/redux.us.json
new file mode 100644
index 0000000..00f4afb
--- /dev/null
+++ b/contrib/redux.us.json
@@ -0,0 +1,35 @@
+{
+    "required_attributes": [
+       {
+           "type": "string",
+           "name": "full_name",
+               "label": "Full name",
+               "label_i18n":{
+                                               "de_DE":"Vollstaendiger Name",
+                                               "de_CH":"Vollstaendiger Name"
+                                        },
+           "widget": "anastasis_gtk_ia_full_name"
+       },
+       {
+           "type": "date",
+           "name": "birthdate",
+               "label": "Birthdate",
+           "label_i18n":{"de_CH":"Geburtsdatum"},
+           "widget": "anastasis_gtk_ia_birthdate"
+       },
+       {
+           "type": "string",
+           "name": "social_security_number",
+               "label": "Social security number",
+           "label_i18n":{
+                                               "de_DE": 
"Sozialversicherungsnummer",
+                                               "de_CH": 
"Sozialversicherungsnummer",
+                                               "fr": "Numéro de sécurité 
sociale",
+                                               "en": "Social security number"
+                                        },
+           "widget": "anastasis_gtk_ia_ssn"
+       }
+       ]
+}
+
+
diff --git a/src/lib/anastasis_api_redux.c b/src/lib/anastasis_api_redux.c
index 42ed682..294db39 100644
--- a/src/lib/anastasis_api_redux.c
+++ b/src/lib/anastasis_api_redux.c
@@ -406,6 +406,16 @@ ANASTASIS_redux_action (const json_t *state,
       "back",
       &unselect_country
     },
+    {
+      "UserAttributesCollectionState",
+      "select_country",
+      &select_country
+    },
+    {
+      "UserAttributesCollectionState",
+      "select_continent",
+      &select_continent
+    },
     {
       "UserAttributesCollectionState",
       "enter_user_attributes",

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]