From e81e420100402aecf273f84ffabfbc5996260ae3 Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 2 Mar 2022 14:55:52 +0100 Subject: [PATCH] add slots for transaction types, seperate decayinformations for evry type --- frontend/src/components/DecayInformation.vue | 2 +- .../DecayInformation-BeforeStartblock.vue | 17 +++ .../DecayInformation-Decay.vue | 36 ++++++ .../DecayInformation-DecayStartblock.vue | 92 +++++++++++++++ .../DecayInformation-FirstTransaction.vue | 20 ++++ .../DecayInformation-Long.vue | 109 ++++++++++++++++++ .../DecayInformation-Short.vue | 17 +++ .../src/components/TransactionListItem.vue | 16 +++ .../TransactionCreation.vue | 23 ++-- .../TransactionDecay.vue | 30 +---- .../TransactionReceive.vue | 26 ++--- .../TransactionSend.vue | 27 ++--- frontend/src/locales/de.json | 2 +- frontend/src/locales/en.json | 2 +- .../AccountOverview/GddTransactionList.vue | 72 +++++++----- 15 files changed, 388 insertions(+), 103 deletions(-) create mode 100644 frontend/src/components/DecayInformations/DecayInformation-BeforeStartblock.vue create mode 100644 frontend/src/components/DecayInformations/DecayInformation-Decay.vue create mode 100644 frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue create mode 100644 frontend/src/components/DecayInformations/DecayInformation-FirstTransaction.vue create mode 100644 frontend/src/components/DecayInformations/DecayInformation-Long.vue create mode 100644 frontend/src/components/DecayInformations/DecayInformation-Short.vue create mode 100644 frontend/src/components/TransactionListItem.vue rename frontend/src/components/{transaction-slots => Transactions}/TransactionCreation.vue (82%) rename frontend/src/components/{transaction-slots => Transactions}/TransactionDecay.vue (65%) rename frontend/src/components/{transaction-slots => Transactions}/TransactionReceive.vue (82%) rename frontend/src/components/{transaction-slots => Transactions}/TransactionSend.vue (82%) diff --git a/frontend/src/components/DecayInformation.vue b/frontend/src/components/DecayInformation.vue index 807b9c516..a5b1ee350 100644 --- a/frontend/src/components/DecayInformation.vue +++ b/frontend/src/components/DecayInformation.vue @@ -15,7 +15,7 @@ v-else-if="new Date(balanceDate).getTime() < new Date(decayStartBlock).getTime()" class="mt-3 mb-3 text-center" > - {{ $t('decay.befor_startblock_transaction') }} + {{ $t('decay.before_startblock_transaction') }}
diff --git a/frontend/src/components/DecayInformations/DecayInformation-BeforeStartblock.vue b/frontend/src/components/DecayInformations/DecayInformation-BeforeStartblock.vue new file mode 100644 index 000000000..7429f8f90 --- /dev/null +++ b/frontend/src/components/DecayInformations/DecayInformation-BeforeStartblock.vue @@ -0,0 +1,17 @@ + + diff --git a/frontend/src/components/DecayInformations/DecayInformation-Decay.vue b/frontend/src/components/DecayInformations/DecayInformation-Decay.vue new file mode 100644 index 000000000..e7e20c671 --- /dev/null +++ b/frontend/src/components/DecayInformations/DecayInformation-Decay.vue @@ -0,0 +1,36 @@ + + diff --git a/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue b/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue new file mode 100644 index 000000000..aca959534 --- /dev/null +++ b/frontend/src/components/DecayInformations/DecayInformation-DecayStartblock.vue @@ -0,0 +1,92 @@ + + diff --git a/frontend/src/components/DecayInformations/DecayInformation-FirstTransaction.vue b/frontend/src/components/DecayInformations/DecayInformation-FirstTransaction.vue new file mode 100644 index 000000000..785a5e86f --- /dev/null +++ b/frontend/src/components/DecayInformations/DecayInformation-FirstTransaction.vue @@ -0,0 +1,20 @@ + + diff --git a/frontend/src/components/DecayInformations/DecayInformation-Long.vue b/frontend/src/components/DecayInformations/DecayInformation-Long.vue new file mode 100644 index 000000000..d1f67485a --- /dev/null +++ b/frontend/src/components/DecayInformations/DecayInformation-Long.vue @@ -0,0 +1,109 @@ + + diff --git a/frontend/src/components/DecayInformations/DecayInformation-Short.vue b/frontend/src/components/DecayInformations/DecayInformation-Short.vue new file mode 100644 index 000000000..2b3356cdf --- /dev/null +++ b/frontend/src/components/DecayInformations/DecayInformation-Short.vue @@ -0,0 +1,17 @@ + + diff --git a/frontend/src/components/TransactionListItem.vue b/frontend/src/components/TransactionListItem.vue new file mode 100644 index 000000000..f2f7f3e90 --- /dev/null +++ b/frontend/src/components/TransactionListItem.vue @@ -0,0 +1,16 @@ + + diff --git a/frontend/src/components/transaction-slots/TransactionCreation.vue b/frontend/src/components/Transactions/TransactionCreation.vue similarity index 82% rename from frontend/src/components/transaction-slots/TransactionCreation.vue rename to frontend/src/components/Transactions/TransactionCreation.vue index 8f11bb2a9..74b298ee9 100644 --- a/frontend/src/components/transaction-slots/TransactionCreation.vue +++ b/frontend/src/components/Transactions/TransactionCreation.vue @@ -1,5 +1,5 @@