From 544261bac0e26ac191d0e64c5d797e64ead6784f Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 30 Dec 2022 18:11:50 +0100 Subject: [PATCH] open contribution table style --- .../Contributions/ContributionListItem.vue | 16 +++---- .../Contributions/OpenCreationsAmount.vue | 44 +++++++++++-------- .../Template/ContentHeader/NavCommunity.vue | 14 +++--- .../Transactions/TransactionCreation.vue | 4 +- .../Transactions/TransactionReceive.vue | 4 +- .../Transactions/TransactionSend.vue | 4 +- frontend/src/layouts/DashboardLayout.vue | 2 +- 7 files changed, 47 insertions(+), 41 deletions(-) diff --git a/frontend/src/components/Contributions/ContributionListItem.vue b/frontend/src/components/Contributions/ContributionListItem.vue index 930d4ddf8..dfff60840 100644 --- a/frontend/src/components/Contributions/ContributionListItem.vue +++ b/frontend/src/components/Contributions/ContributionListItem.vue @@ -164,15 +164,13 @@ --> - - - + diff --git a/frontend/src/components/Contributions/OpenCreationsAmount.vue b/frontend/src/components/Contributions/OpenCreationsAmount.vue index 31ffcc9e2..1b0ad6462 100644 --- a/frontend/src/components/Contributions/OpenCreationsAmount.vue +++ b/frontend/src/components/Contributions/OpenCreationsAmount.vue @@ -1,12 +1,30 @@ @@ -18,15 +36,5 @@ export default { maxGddLastMonth: { type: Number, required: true }, maxGddThisMonth: { type: Number, required: true }, }, - - methods: { - textForMonth(date, availableAmount) { - const obj = { - monthAndYear: this.$d(date, 'monthAndYear'), - creation: availableAmount, - } - return this.$t('contribution.formText.openAmountForMonth', obj) - }, - }, } diff --git a/frontend/src/components/Template/ContentHeader/NavCommunity.vue b/frontend/src/components/Template/ContentHeader/NavCommunity.vue index eeca3eca0..20361e82c 100644 --- a/frontend/src/components/Template/ContentHeader/NavCommunity.vue +++ b/frontend/src/components/Template/ContentHeader/NavCommunity.vue @@ -1,20 +1,20 @@