From 5dc1d1e67cb01d4cc81e161ce8b3574e83b3a02d Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 18 Mar 2022 08:31:32 +0100 Subject: [PATCH] add id to query queryTransactionLink, add locales for redeem amount, check auth --- frontend/src/graphql/queries.js | 2 ++ frontend/src/locales/de.json | 1 + frontend/src/locales/en.json | 1 + .../pages/ShowTransactionLinkInformations.vue | 35 ++++++++++++++++++- 4 files changed, 38 insertions(+), 1 deletion(-) diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js index 141dc8651..503489e86 100644 --- a/frontend/src/graphql/queries.js +++ b/frontend/src/graphql/queries.js @@ -132,6 +132,7 @@ export const communities = gql` export const queryTransactionLink = gql` query($code: String!) { queryTransactionLink(code: $code) { + id amount memo createdAt @@ -139,6 +140,7 @@ export const queryTransactionLink = gql` user { firstName publisherId + id } } } diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index c410c7b2b..9313f3f30 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -107,6 +107,7 @@ "not-copied": "Konnte den Link nicht kopieren: {err}", "sentence_1": "Wähle einen Betrag aus, welchen du per Link versenden möchtest. Du kannst auch noch eine Nachricht eintragen. Beim Klick „jetzt generieren“ wird ein Link erstellt, den du versenden kannst.", "redeem":"Einlösen", + "redeem-text":"Willst du den Betrag jetzt einlösen?", "no-account":"Du hast noch kein Gradido Konto", "to-register":"Registriere ein neues Konto", "has-account":"Du hast einen Gradido Konto", diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index b2994b76b..1280f61a5 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -107,6 +107,7 @@ "not-copied": "Could not copy link: {err}", "sentence_1": "Select an amount that you would like to send via link. You can also enter a message. Click 'Generate now' to create a link that you can share.", "redeem": "Redeem", + "redeem-text":"Do you want to redeem the amount now?", "no-account": "You don't have a Gradido account yet", "to-register": "Register a new account", "has-account": "You have a Gradido account", diff --git a/frontend/src/pages/ShowTransactionLinkInformations.vue b/frontend/src/pages/ShowTransactionLinkInformations.vue index c8017ab41..d81efefe5 100644 --- a/frontend/src/pages/ShowTransactionLinkInformations.vue +++ b/frontend/src/pages/ShowTransactionLinkInformations.vue @@ -2,6 +2,7 @@