mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add GDT in Components
This commit is contained in:
parent
ce558205ee
commit
ff5485e598
@ -27,7 +27,9 @@
|
||||
</b-row>
|
||||
<div>
|
||||
<b-icon icon="layers" class="mr-3" :variant="badge ? 'success' : 'light'"></b-icon>
|
||||
<span :class="badge ? 'text-success' : 'text-light'">{{ $t('GDT') }}</span>
|
||||
<span :class="badge ? 'text-success' : 'text-light'">
|
||||
{{ $n(GdtBalance, 'decimal') }} {{ $t('GDT') }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -36,6 +38,7 @@
|
||||
export default {
|
||||
name: 'GdtAmount',
|
||||
props: {
|
||||
GdtBalance: { type: Number, required: true },
|
||||
badge: { type: Boolean, default: false },
|
||||
showStatus: { type: Boolean, default: false },
|
||||
},
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
<b-row class="d-lg-flex" cols="12">
|
||||
<!-- ContentHeader -->
|
||||
<b-col>
|
||||
<content-header :balance="balance" />
|
||||
<content-header :balance="balance" :GdtBalance="GdtBalance" />
|
||||
</b-col>
|
||||
</b-row>
|
||||
</b-col>
|
||||
@ -57,7 +57,7 @@
|
||||
<router-view
|
||||
ref="router-view"
|
||||
:balance="balance"
|
||||
:gdt-balance="GdtBalance"
|
||||
:GdtBalance="GdtBalance"
|
||||
:transactions="transactions"
|
||||
:transactionCount="transactionCount"
|
||||
:transactionLinkCount="transactionLinkCount"
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
</b-col>
|
||||
<b-col cols="6">
|
||||
<div>
|
||||
<gdt-amount />
|
||||
<gdt-amount :GdtBalance="GdtBalance" />
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
@ -42,7 +42,7 @@
|
||||
<b-col cols="6">
|
||||
<div>
|
||||
<router-link to="gdt">
|
||||
<gdt-amount />
|
||||
<gdt-amount :GdtBalance="GdtBalance" />
|
||||
</router-link>
|
||||
</div>
|
||||
</b-col>
|
||||
@ -60,7 +60,7 @@
|
||||
<b-col cols="6">
|
||||
<div>
|
||||
<router-link to="gdt">
|
||||
<gdt-amount :badge="true" :showStatus="true" />
|
||||
<gdt-amount :badge="true" :showStatus="true" :GdtBalance="GdtBalance" />
|
||||
</router-link>
|
||||
</div>
|
||||
</b-col>
|
||||
@ -102,6 +102,7 @@ export default {
|
||||
},
|
||||
props: {
|
||||
balance: { type: Number, required: true },
|
||||
GdtBalance: { type: Number, required: true },
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user