mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix delete old code
This commit is contained in:
parent
1d029deb7a
commit
956686b7aa
@ -53,39 +53,6 @@
|
||||
</b-list-group-item>
|
||||
</b-list-group>
|
||||
</div>
|
||||
|
||||
<div v-if="decaytyp === 'long'" class="pl-6 pr-6 pt-3 pb-3" style="background-color: #f5365c0d">
|
||||
<b-icon icon="droplet-half" class="mr-2 display-4" />
|
||||
<i>{{ $t('decay.calculation_decay') }}</i>
|
||||
<br />
|
||||
<br />
|
||||
<div v-if="decay.decay_start_block > 0">
|
||||
<div class="display-3">{{ $t('decay.Starting_block_decay') }} :</div>
|
||||
<div>
|
||||
{{ $t('decay.decay_introduced') }} : {{ $d($moment.unix(decay.decay_start), 'long') }}
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div>{{ $t('decay.last_transaction') }}:</div>
|
||||
<span>{{ $d($moment.unix(decay.decay_start), 'long') }} Uhr</span>
|
||||
</div>
|
||||
<br />
|
||||
{{ $t('decay.past_time') }}
|
||||
<span v-if="decay.decay_start_block > 0">{{ $t('decay.since_introduction') }}</span>
|
||||
:
|
||||
<i>{{ getDuration(decay.decay_end, decay.decay_start) }}</i>
|
||||
<span v-if="this.duration != {}">
|
||||
<b v-if="duration.years > 0">{{ duration.years }} {{ $t('decay.year') }},</b>
|
||||
<b v-if="duration.months > 0">{{ duration.months }} {{ $t('decay.months') }},</b>
|
||||
<b v-if="duration.days > 0">{{ duration.days }} {{ $t('decay.days') }},</b>
|
||||
<b v-if="duration.hours > 0">{{ duration.hours }} {{ $t('decay.hours') }},</b>
|
||||
<b v-if="duration.minutes > 0">{{ duration.minutes }} {{ $t('decay.minutes') }},</b>
|
||||
<b v-if="duration.seconds > 0">{{ duration.seconds }} {{ $t('decay.seconds') }}</b>
|
||||
</span>
|
||||
<br />
|
||||
{{ $t('decay.decay') }}:
|
||||
<b>{{ decay ? decay.balance + ' GDD' : '' }}</b>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -114,8 +81,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getDuration(start, end) {
|
||||
// console.log("start", start)
|
||||
// console.log("end", end)
|
||||
this.a = new Date(start)
|
||||
this.b = new Date(end)
|
||||
this.a = this.$moment.unix(this.a)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user