mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Transaction list style edited
This commit is contained in:
parent
e6eb77583d
commit
9c491eedca
@ -32,7 +32,7 @@
|
|||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="3">
|
<b-col cols="3">
|
||||||
<div class="small">{{ $t('creation') }}</div>
|
<div class="small">{{ $t('creation') }}</div>
|
||||||
<div class="font-weight-bold h2">{{ amount | GDD }}</div>
|
<div class="font-weight-bold">{{ amount | GDD }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="1" @click="visible = !visible">
|
<b-col cols="1" @click="visible = !visible">
|
||||||
<collapse-icon class="text-right" :visible="visible" v-if="messagesCount > 0" />
|
<collapse-icon class="text-right" :visible="visible" v-if="messagesCount > 0" />
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="gdd-transaction-list">
|
<div class="gdd-transaction-list">
|
||||||
<div class="list-group">
|
<div class="list-group mt-5">
|
||||||
<div v-if="!transactions" class="test-no-transactionlist text-right">
|
<div v-if="!transactions" class="test-no-transactionlist text-right">
|
||||||
<b-icon icon="exclamation-triangle" class="mr-2" variant="danger"></b-icon>
|
<b-icon icon="exclamation-triangle" class="mr-2" variant="danger"></b-icon>
|
||||||
<small>
|
<small>
|
||||||
@ -12,8 +12,9 @@
|
|||||||
<small>{{ $t('error.empty-transactionlist') }}</small>
|
<small>{{ $t('error.empty-transactionlist') }}</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-for="({ id, typeId }, index) in transactions" :key="id">
|
<div v-for="({ id, typeId }, index) in transactions" :key="`l1-` + id">
|
||||||
<transaction-list-item
|
<transaction-list-item
|
||||||
|
v-if="typeId === 'DECAY'"
|
||||||
:typeId="typeId"
|
:typeId="typeId"
|
||||||
class="pointer mb-3 bg-white appBoxShadow gradido-border-radius p-4 test-list-group-item"
|
class="pointer mb-3 bg-white appBoxShadow gradido-border-radius p-4 test-list-group-item"
|
||||||
>
|
>
|
||||||
@ -23,7 +24,15 @@
|
|||||||
:previousBookedBalance="previousBookedBalance(index)"
|
:previousBookedBalance="previousBookedBalance(index)"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
</transaction-list-item>
|
||||||
|
</div>
|
||||||
|
<div class="h4 m-3">{{ $t('lastMonth') }}</div>
|
||||||
|
<div v-for="({ id, typeId }, index) in transactions" :key="`l2-` + id">
|
||||||
|
<transaction-list-item
|
||||||
|
v-if="typeId !== 'DECAY'"
|
||||||
|
:typeId="typeId"
|
||||||
|
class="pointer mb-3 bg-white appBoxShadow gradido-border-radius p-4 test-list-group-item"
|
||||||
|
>
|
||||||
<template #SEND>
|
<template #SEND>
|
||||||
<transaction-send
|
<transaction-send
|
||||||
v-bind="transactions[index]"
|
v-bind="transactions[index]"
|
||||||
|
|||||||
@ -6,12 +6,12 @@
|
|||||||
</b-col>
|
</b-col>
|
||||||
<b-col>
|
<b-col>
|
||||||
<div>{{ linkedUser.firstName }} {{ linkedUser.lastName }}</div>
|
<div>{{ linkedUser.firstName }} {{ linkedUser.lastName }}</div>
|
||||||
<div class="small">{{ balanceDate }}</div>
|
<div class="small">{{ this.$d(new Date(balanceDate), 'short') }}</div>
|
||||||
<div class="small">{{ balanceDate }}</div>
|
<div class="small">{{ this.$d(new Date(balanceDate), 'time') }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="3">
|
<b-col cols="3">
|
||||||
<div class="small">{{ $t('decay.types.receive') }}</div>
|
<div class="small">{{ $t('decay.types.receive') }}</div>
|
||||||
<div class="small">{{ amount | GDD }}</div>
|
<div class="font-weight-bold">{{ amount | GDD }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="3">
|
<b-col cols="3">
|
||||||
<div class="small">{{ $t('send_per_link') }}</div>
|
<div class="small">{{ $t('send_per_link') }}</div>
|
||||||
<div class="small">{{ amount | GDD }}</div>
|
<div class="font-weight-bold">{{ amount | GDD }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
|
|||||||
@ -14,12 +14,12 @@
|
|||||||
:transactionLinkId="transactionLinkId"
|
:transactionLinkId="transactionLinkId"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="small">{{ balanceDate }}</div>
|
<div class="small">{{ this.$d(new Date(balanceDate), 'short') }}</div>
|
||||||
<div class="small">{{ balanceDate }}</div>
|
<div class="small">{{ this.$d(new Date(balanceDate), 'time') }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="3">
|
<b-col cols="3">
|
||||||
<div class="small">{{ $t('decay.types.receive') }}</div>
|
<div class="small">{{ $t('decay.types.receive') }}</div>
|
||||||
<div class="small">{{ amount | GDD }}</div>
|
<div class="font-weight-bold">{{ amount | GDD }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
|
|||||||
@ -14,12 +14,12 @@
|
|||||||
:transactionLinkId="transactionLinkId"
|
:transactionLinkId="transactionLinkId"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="small">{{ balanceDate }}</div>
|
<div class="small">{{ this.$d(new Date(balanceDate), 'short') }}</div>
|
||||||
<div class="small">{{ balanceDate }}</div>
|
<div class="small">{{ this.$d(new Date(balanceDate), 'time') }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="3">
|
<b-col cols="3">
|
||||||
<div class="small">{{ $t('decay.types.send') }}</div>
|
<div class="small">{{ $t('decay.types.send') }}</div>
|
||||||
<div class="small">{{ amount | GDD }}</div>
|
<div class="font-weight-bold">{{ amount | GDD }}</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
<b-col cols="1"><collapse-icon class="text-right" :visible="visible" /></b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
|
|||||||
@ -115,6 +115,10 @@ const dateTimeFormats = {
|
|||||||
month: 'long',
|
month: 'long',
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
},
|
},
|
||||||
|
time: {
|
||||||
|
hour: 'numeric',
|
||||||
|
minute: 'numeric',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
de: {
|
de: {
|
||||||
short: {
|
short: {
|
||||||
@ -143,6 +147,10 @@ const dateTimeFormats = {
|
|||||||
month: 'long',
|
month: 'long',
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
},
|
},
|
||||||
|
time: {
|
||||||
|
hour: 'numeric',
|
||||||
|
minute: 'numeric',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
es: {
|
es: {
|
||||||
short: {
|
short: {
|
||||||
@ -171,6 +179,10 @@ const dateTimeFormats = {
|
|||||||
month: 'long',
|
month: 'long',
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
},
|
},
|
||||||
|
time: {
|
||||||
|
hour: 'numeric',
|
||||||
|
minute: 'numeric',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
fr: {
|
fr: {
|
||||||
short: {
|
short: {
|
||||||
@ -199,6 +211,10 @@ const dateTimeFormats = {
|
|||||||
month: 'long',
|
month: 'long',
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
},
|
},
|
||||||
|
time: {
|
||||||
|
hour: 'numeric',
|
||||||
|
minute: 'numeric',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
nl: {
|
nl: {
|
||||||
short: {
|
short: {
|
||||||
@ -227,6 +243,10 @@ const dateTimeFormats = {
|
|||||||
month: 'long',
|
month: 'long',
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
},
|
},
|
||||||
|
time: {
|
||||||
|
hour: 'numeric',
|
||||||
|
minute: 'numeric',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -309,6 +309,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"success": "Erfolg",
|
"success": "Erfolg",
|
||||||
|
"lastMonth":"letzter Monat",
|
||||||
"time": {
|
"time": {
|
||||||
"days": "Tage",
|
"days": "Tage",
|
||||||
"hours": "Stunden",
|
"hours": "Stunden",
|
||||||
|
|||||||
@ -29,6 +29,7 @@
|
|||||||
"openContributionLinkText": "The following {count} automatic creations are currently provided by the \"{name}\" community.",
|
"openContributionLinkText": "The following {count} automatic creations are currently provided by the \"{name}\" community.",
|
||||||
"submitContribution": "Submit contribution"
|
"submitContribution": "Submit contribution"
|
||||||
},
|
},
|
||||||
|
"lastMonth":"Last month",
|
||||||
"contact": "Contact",
|
"contact": "Contact",
|
||||||
"contribution": {
|
"contribution": {
|
||||||
"activity": "Activity",
|
"activity": "Activity",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user