fix style decay startblock delete old code

This commit is contained in:
ogerly 2021-07-08 15:58:52 +02:00
parent cc7778b55d
commit 9f3c1ea11e

View File

@ -76,85 +76,6 @@
</b-list-group-item>
</b-list-group>
<decay-information decaytyp="new" :decay="getTransaction(item.transaction_id).decay" />
<!--
<b-card>
<b-card-title>
<div class="display-4" v-if="item.type === 'receive' || item.type === 'send'">
<b-icon :icon="getProperties(item).icon" :class="getProperties(item).class" />
{{ item.type === 'receive' ? $t('decay.received') : $t('decay.sent') }}
</div>
<div class="display-4" v-if="item.type === 'creation'">
<b-icon :icon="getProperties(item).icon" :class="getProperties(item).class" />
{{ item.type === 'creation' ? $t('decay.created') : '' }}
</div>
</b-card-title>
<b-card-body>
<p class="display-2">{{ $n(item.balance, 'decimal') }} GDD</p>
<! -- Card receive and send -- >
<div v-if="item.type != 'creation'">
<div>am:</div>
<b-list-group style="min-width: 300px">
<b-list-group-item class="d-flex align-items-center">
<b-icon icon="clock" class="mr-3" />
<span>{{ $d($moment(item.date), 'long') }}</span>
</b-list-group-item>
<div>{{ item.type === 'receive' ? 'von:' : 'an:' }}</div>
<b-list-group-item class="d-flex align-items-center">
<b-avatar class="mr-3"></b-avatar>
<span>{{ item.name }}</span>
<b-badge>5</b-badge>
</b-list-group-item>
</b-list-group>
<div>
{{
item.type === 'receive' ? 'Nachricht vom Absender:' : 'Nachricht an Empfänger:'
}}
</div>
<b-list-group>
<b-list-group-item class="d-flex align-items-center">
<b-icon icon="card-text" class="mr-3" />
<span>{{ item.memo }}</span>
</b-list-group-item>
</b-list-group>
</div>
<! -- Card Creation -- >
<div v-else>
<div>Dein Eintrag aus der Community wurde bestätigt.</div>
<div class="mt-3">
<b-card
title="Hilfe bei Gartenarbeit"
img-src="https://picsum.photos/600/300/?image=25"
img-alt="Image"
img-top
tag="article"
style="max-width: 30rem"
class="mb-2"
>
<b-card-text>
5 Stunden hilfe bei Gartenarbeit. Meine 80 jährige Nachbarin kann zur Zeit
nicht in Ihrem Garten arbeiten.
</b-card-text>
<b-button href="#" variant="primary">ansehen</b-button>
</b-card>
</div>
<hr />
Deinem Konto wurden am
<span>{{ $d($moment(item.date), 'long') }}</span>
<div>{{ $n(item.balance, 'decimal') }} GDD geschöpft</div>
</div>
<decay-information decaytyp="long"
:decay="getTransaction(item.transaction_id).decay"
/>
</b-card-body>
</b-card>
-->
</b-collapse>
<!-- Collaps End -->
</b-list-group-item>