diff --git a/frontend/src/components/TransactionRows/AmountAndNameRow.vue b/frontend/src/components/TransactionRows/AmountAndNameRow.vue index be71b57f6..322ad7dfa 100644 --- a/frontend/src/components/TransactionRows/AmountAndNameRow.vue +++ b/frontend/src/components/TransactionRows/AmountAndNameRow.vue @@ -10,9 +10,20 @@
- - {{ itemText }} - +
+ + {{ itemText }} + + + {{ $t('via_link') }} + + +
{{ itemText }}
@@ -35,6 +46,11 @@ export default { type: String, required: false, }, + transactionLinkId: { + type: Number, + required: false, + default: null, + }, }, methods: { tunnelEmail() { diff --git a/frontend/src/components/Transactions/TransactionReceive.vue b/frontend/src/components/Transactions/TransactionReceive.vue index d1947a91a..f83c84e53 100644 --- a/frontend/src/components/Transactions/TransactionReceive.vue +++ b/frontend/src/components/Transactions/TransactionReceive.vue @@ -13,7 +13,12 @@ - + @@ -86,6 +91,10 @@ export default { type: Date, required: true, }, + transactionLinkId: { + type: Number, + required: false, + }, }, data() { return { diff --git a/frontend/src/components/Transactions/TransactionSend.vue b/frontend/src/components/Transactions/TransactionSend.vue index dfe50225a..2f9ef54d2 100644 --- a/frontend/src/components/Transactions/TransactionSend.vue +++ b/frontend/src/components/Transactions/TransactionSend.vue @@ -13,7 +13,12 @@ - + @@ -87,6 +92,10 @@ export default { type: Date, required: true, }, + transactionLinkId: { + type: Number, + required: false, + }, }, data() { return { diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js index 60b929c6d..e47da0fea 100644 --- a/frontend/src/graphql/queries.js +++ b/frontend/src/graphql/queries.js @@ -70,6 +70,7 @@ export const transactionsQuery = gql` linkedUser { email } + transactionLinkId } } } diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 35155ca79..81bc900e0 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -116,6 +116,7 @@ "redeem-text": "Willst du den Betrag jetzt einlösen?", "redeemed": "Erfolgreich eingelöst! Deinem Konto wurden {n} GDD gutgeschrieben.", "redeemed-at": "Der Link wurde bereits am {date} eingelöst.", + "redeemed-title": "eingelöst", "to-login": "Log dich ein", "to-register": "Registriere ein neues Konto" }, @@ -249,5 +250,6 @@ }, "transaction-link": { "send_you": "sendet dir" - } + }, + "via_link": "über einen Link" } diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index af54f3b50..249664183 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -116,6 +116,7 @@ "redeem-text": "Do you want to redeem the amount now?", "redeemed": "Successfully redeemed! Your account has been credited with {n} GDD.", "redeemed-at": "The link was already redeemed on {date}.", + "redeemed-title": "redeemed", "to-login": "Log in", "to-register": "Register a new account" }, @@ -249,5 +250,6 @@ }, "transaction-link": { "send_you": "wants to send you" - } + }, + "via_link": "via Link" }