mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add components DateRow, DecayRow
This commit is contained in:
parent
0ca944e40a
commit
30c345aa4f
@ -21,7 +21,7 @@ export default {
|
||||
name: 'AmountAndName',
|
||||
props: {
|
||||
amount: {
|
||||
type: Number,
|
||||
type: String,
|
||||
},
|
||||
linkedUser: {
|
||||
type: Object,
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="Collaps-Icon">
|
||||
<div class="collapse-icon">
|
||||
<b-icon
|
||||
:icon="visible ? 'caret-up-square' : 'caret-down-square'"
|
||||
:class="visible ? 'text-black' : 'text-muted'"
|
||||
@ -8,6 +8,7 @@
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'Collapse-Icon',
|
||||
props: {
|
||||
visible: {
|
||||
type: Boolean,
|
||||
|
||||
30
frontend/src/components/TransactionRows/DecayRow.vue
Normal file
30
frontend/src/components/TransactionRows/DecayRow.vue
Normal file
@ -0,0 +1,30 @@
|
||||
<template>
|
||||
<div class="decay-row">
|
||||
<b-row v-if="decay">
|
||||
<b-col cols="5">
|
||||
<div class="text-right">
|
||||
<b-icon icon="droplet-half" height="15" class="mb-1" />
|
||||
</div>
|
||||
</b-col>
|
||||
<b-col cols="7">
|
||||
<div class="gdd-transaction-list-item-decay">
|
||||
<decay-information-short decaytyp="short" :decay="decay" />
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||
export default {
|
||||
name: 'Decay-Row',
|
||||
components: {
|
||||
DecayInformationShort,
|
||||
},
|
||||
props: {
|
||||
decay: {
|
||||
type: Object,
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
@ -19,21 +19,10 @@
|
||||
<memo :memo="memo" />
|
||||
|
||||
<!-- Datum -->
|
||||
<date :balanceDate="balanceDate" />
|
||||
<date-row :balanceDate="balanceDate" />
|
||||
|
||||
<!-- Decay -->
|
||||
<b-row v-if="decay">
|
||||
<b-col cols="5">
|
||||
<div class="text-right">
|
||||
<b-icon icon="droplet-half" height="15" class="mb-1" />
|
||||
</div>
|
||||
</b-col>
|
||||
<b-col cols="7">
|
||||
<div class="gdd-transaction-list-item-decay">
|
||||
<decay-information-short decaytyp="short" :decay="decay" />
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<decay-row :decay="decay" />
|
||||
</b-col>
|
||||
</b-row>
|
||||
</div>
|
||||
@ -54,10 +43,9 @@
|
||||
<script>
|
||||
import CollapseIcon from '../TransactionRows/CollapseIcon'
|
||||
import TypeIcon from '../TransactionRows/TypeIcon'
|
||||
import AmountAndName from '../TransactionRows/AmountAndName.vue'
|
||||
import Memo from '../TransactionRows/Memo.vue'
|
||||
import Date from '../TransactionRows/Date.vue'
|
||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||
import AmountAndName from '../TransactionRows/AmountAndName'
|
||||
import Memo from '../TransactionRows/Memo'
|
||||
import DateRow from '../TransactionRows/DateRow'
|
||||
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
||||
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
||||
import DecayInformationDecayStartblock from '../DecayInformations/DecayInformation-DecayStartblock'
|
||||
@ -69,8 +57,7 @@ export default {
|
||||
TypeIcon,
|
||||
AmountAndName,
|
||||
Memo,
|
||||
Date,
|
||||
DecayInformationShort,
|
||||
DateRow,
|
||||
DecayInformationLong,
|
||||
DecayInformationBeforeStartblock,
|
||||
DecayInformationDecayStartblock,
|
||||
|
||||
@ -19,21 +19,10 @@
|
||||
<memo :memo="memo" />
|
||||
|
||||
<!-- Datum -->
|
||||
<date :balanceDate="balanceDate" />
|
||||
<date-row :balanceDate="balanceDate" />
|
||||
|
||||
<!-- Decay -->
|
||||
<b-row v-if="decay">
|
||||
<b-col cols="5">
|
||||
<div class="text-right">
|
||||
<b-icon icon="droplet-half" height="15" class="mb-1" />
|
||||
</div>
|
||||
</b-col>
|
||||
<b-col cols="7">
|
||||
<div class="gdd-transaction-list-item-decay">
|
||||
<decay-information-short decaytyp="short" :decay="decay" />
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<decay-row :decay="decay" />
|
||||
</b-col>
|
||||
</b-row>
|
||||
</div>
|
||||
@ -54,10 +43,9 @@
|
||||
<script>
|
||||
import CollapseIcon from '../TransactionRows/CollapseIcon'
|
||||
import TypeIcon from '../TransactionRows/TypeIcon'
|
||||
import AmountAndName from '../TransactionRows/AmountAndName.vue'
|
||||
import Memo from '../TransactionRows/Memo.vue'
|
||||
import Date from '../TransactionRows/Date.vue'
|
||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||
import AmountAndName from '../TransactionRows/AmountAndName'
|
||||
import Memo from '../TransactionRows/Memo'
|
||||
import DateRow from '../TransactionRows/DateRow'
|
||||
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
||||
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
||||
import DecayInformationDecayStartblock from '../DecayInformations/DecayInformation-DecayStartblock'
|
||||
@ -69,8 +57,7 @@ export default {
|
||||
TypeIcon,
|
||||
AmountAndName,
|
||||
Memo,
|
||||
Date,
|
||||
DecayInformationShort,
|
||||
DateRow,
|
||||
DecayInformationLong,
|
||||
DecayInformationBeforeStartblock,
|
||||
DecayInformationDecayStartblock,
|
||||
|
||||
@ -19,21 +19,10 @@
|
||||
<memo :memo="memo" />
|
||||
|
||||
<!-- Datum -->
|
||||
<date :balanceDate="balanceDate" />
|
||||
<date-row :balanceDate="balanceDate" />
|
||||
|
||||
<!-- Decay -->
|
||||
<b-row v-if="decay">
|
||||
<b-col cols="5">
|
||||
<div class="text-right">
|
||||
<b-icon icon="droplet-half" height="15" class="mb-1" />
|
||||
</div>
|
||||
</b-col>
|
||||
<b-col cols="7">
|
||||
<div class="gdd-transaction-list-item-decay">
|
||||
<decay-information-short decaytyp="short" :decay="decay" />
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
<decay-row :decay="decay" />
|
||||
</b-col>
|
||||
</b-row>
|
||||
</div>
|
||||
@ -54,10 +43,10 @@
|
||||
<script>
|
||||
import CollapseIcon from '../TransactionRows/CollapseIcon'
|
||||
import TypeIcon from '../TransactionRows/TypeIcon'
|
||||
import AmountAndName from '../TransactionRows/AmountAndName.vue'
|
||||
import Memo from '../TransactionRows/Memo.vue'
|
||||
import Date from '../TransactionRows/Date.vue'
|
||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||
import AmountAndName from '../TransactionRows/AmountAndName'
|
||||
import Memo from '../TransactionRows/Memo'
|
||||
import DateRow from '../TransactionRows/DateRow'
|
||||
import DecayRow from '../TransactionRows/DecayRow'
|
||||
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
||||
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
||||
import DecayInformationDecayStartblock from '../DecayInformations/DecayInformation-DecayStartblock'
|
||||
@ -68,8 +57,8 @@ export default {
|
||||
TypeIcon,
|
||||
AmountAndName,
|
||||
Memo,
|
||||
Date,
|
||||
DecayInformationShort,
|
||||
DateRow,
|
||||
DecayRow,
|
||||
DecayInformationLong,
|
||||
DecayInformationBeforeStartblock,
|
||||
DecayInformationDecayStartblock,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user