From c0680d332d36d8b45102d8dd39431950bfc07df7 Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 29 Mar 2023 16:43:03 +0200 Subject: [PATCH] Transaction info, right-justified, so that the commas --- .../DecayInformation-Long.vue | 20 +++++++++++-------- .../TransactionRows/DurationRow.vue | 2 +- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/DecayInformations/DecayInformation-Long.vue b/frontend/src/components/DecayInformations/DecayInformation-Long.vue index 782fe049c..0fd6b7f5c 100644 --- a/frontend/src/components/DecayInformations/DecayInformation-Long.vue +++ b/frontend/src/components/DecayInformations/DecayInformation-Long.vue @@ -14,7 +14,7 @@
{{ $t('decay.last_transaction') }}
- +
{{ $d(new Date(decay.start), 'long') }} @@ -25,11 +25,13 @@ - - + +
{{ $t('decay.decay') }}
- {{ decay.decay | GDD }} + + {{ decay.decay | GDD }} +
@@ -38,15 +40,17 @@ - {{ $t(`decay.types.${typeId.toLowerCase()}`) }} - {{ amount | GDD }} + {{ $t(`decay.types.${typeId.toLowerCase()}`) }} + + {{ amount | GDD }} + - +
{{ $t('decay.total') }}
- + {{ (Number(amount) + Number(decay.decay)) | GDD }}
diff --git a/frontend/src/components/TransactionRows/DurationRow.vue b/frontend/src/components/TransactionRows/DurationRow.vue index 9cadf8c24..aa20132d7 100644 --- a/frontend/src/components/TransactionRows/DurationRow.vue +++ b/frontend/src/components/TransactionRows/DurationRow.vue @@ -4,7 +4,7 @@
{{ $t('decay.past_time') }}
- + {{ durationText }}