- Chart Maps Nationality
- Username lowercase - Statistics - Telegram
This commit is contained in:
0
src/components/CVerifyTelegram/CVerifyEmail.scss
Normal file
0
src/components/CVerifyTelegram/CVerifyEmail.scss
Normal file
21
src/components/CVerifyTelegram/CVerifyEmail.ts
Normal file
21
src/components/CVerifyTelegram/CVerifyEmail.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import Vue from 'vue'
|
||||
import { Component, Prop, Watch } from 'vue-property-decorator'
|
||||
|
||||
import { tools } from '../../store/Modules/tools'
|
||||
import { toolsext } from '@src/store/Modules/toolsext'
|
||||
import MixinBase from '@src/mixins/mixin-base'
|
||||
import { UserStore } from '../../store'
|
||||
|
||||
@Component({
|
||||
components: { }
|
||||
})
|
||||
|
||||
export default class CVerifyEmail extends MixinBase {
|
||||
public $t
|
||||
public $q
|
||||
|
||||
get isEmailVerified() {
|
||||
return UserStore.state.my.verified_email
|
||||
}
|
||||
|
||||
}
|
||||
25
src/components/CVerifyTelegram/CVerifyEmail.vue
Normal file
25
src/components/CVerifyTelegram/CVerifyEmail.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div class="text-center q-gutter-sm q-ma-sm clBorderWarning">
|
||||
<q-chip v-if="isEmailVerified" color="positive" text-color="white" icon="email">
|
||||
{{ `Email ` + $t('pages.statusreg.verified') }}
|
||||
</q-chip>
|
||||
<q-chip v-else color="negative" text-color="white" icon="email">
|
||||
{{ `Email ` + $t('pages.statusreg.nonverified') }}
|
||||
</q-chip>
|
||||
<div v-if="!isEmailVerified" v-html="$t('components.authentication.email_verification.link_sent')">
|
||||
|
||||
</div>
|
||||
<div v-if="!isEmailVerified" v-html="$t('components.authentication.email_verification.se_non_ricevo')">
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./CVerifyEmail.ts">
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import './CVerifyEmail.scss';
|
||||
</style>
|
||||
1
src/components/CVerifyTelegram/index.ts
Normal file
1
src/components/CVerifyTelegram/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export {default as CVerifyEmail} from './CVerifyEmail.vue'
|
||||
Reference in New Issue
Block a user