mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
* frontend - moved to vue 2.7 and vite * frontend - moved to vue 3 * frontend - login page updates * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): WiP migration * fix(frontend): fix eslint/stylelint issues * fix(frontend): fix eslint/stylelint issues * feature(frontend): update node in docker frontend * feature(frontend): move send types out of Send file * feature(frontend): add entry in package json to fix eslint issue * feature(frontend): eslint fix * replace docker-compose with docker compose * update docker-compose test file * feature(frontend): Creation fixes * feature(frontend): Add missing updates for apollo scripts. --------- Co-authored-by: einhornimmond <silas@einhornimmond.de>
35 lines
975 B
Vue
35 lines
975 B
Vue
<template>
|
|
<div class="redeem-information">
|
|
<BCard bg-variant="muted" text-variant="dark" border-variant="info">
|
|
<h1 v-if="amount === ''">{{ $t('gdd_per_link.redeemlink-error') }}</h1>
|
|
<h1 v-if="isContributionLink && amount !== ''">
|
|
{{ CONFIG.COMMUNITY_NAME }}
|
|
{{ $t('contribution-link.thanksYouWith') }} {{ $filters.GDD(amount) }}
|
|
</h1>
|
|
<h1 v-if="!isContributionLink && amount !== ''">
|
|
{{ user.firstName }}
|
|
{{ $t('transaction-link.send_you') }} {{ $filters.GDD(amount) }}
|
|
</h1>
|
|
<b>{{ memo }}</b>
|
|
</BCard>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import CONFIG from '@/config'
|
|
|
|
export default {
|
|
name: 'RedeemInformation',
|
|
props: {
|
|
user: { type: Object, required: false },
|
|
amount: { type: String, required: true },
|
|
memo: { type: String, required: true, default: '' },
|
|
isContributionLink: { type: Boolean, default: false },
|
|
},
|
|
data() {
|
|
return {
|
|
CONFIG,
|
|
}
|
|
},
|
|
}
|
|
</script>
|