2021-12-23 14:14:39 +01:00
|
|
|
<template>
|
|
|
|
|
<div class="text-center q-gutter-sm q-ma-sm clBorderWarning">
|
|
|
|
|
<div v-if="TelegCode() > 0">
|
|
|
|
|
<div class="text-h5 text-center text-red">
|
|
|
|
|
{{ $t('reg.teleg_auth') }} Telegram:
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<CCopyBtn :title="$t('reg.click_per_copiare')" :texttocopy="TelegCode()">
|
|
|
|
|
|
|
|
|
|
</CCopyBtn>
|
|
|
|
|
|
|
|
|
|
<div class="text-h6 text-center" v-html="$t('reg.teleg_torna_sul_bot', {botname: getBotNameTelegram()})">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div v-if="!TelegVerificato()" class="q-pa-sm q-gutter-sm">
|
|
|
|
|
<div v-if="!TelegCode()"><strong>{{ $t('components.authentication.telegram.open')}}</strong></div>
|
|
|
|
|
<div class="q-ma-md">
|
|
|
|
|
<q-btn rounded color="primary" icon="fab fa-telegram" :label="$t('components.authentication.telegram.openbot', {botname: $t('ws.botname') })"
|
|
|
|
|
type="a"
|
|
|
|
|
:href="getLinkBotTelegram()" target="_blank"></q-btn>
|
|
|
|
|
<br>
|
|
|
|
|
</div>
|
|
|
|
|
<strong>{{ $t('components.authentication.telegram.ifclose', {botname: getBotNameTelegram() })}}</strong>
|
|
|
|
|
<div class="q-my-sm">
|
2022-02-24 23:36:27 +01:00
|
|
|
<!--<q-img src="images/ayni_bot.jpg" class="" :alt="$t('ws.sitename')" style="height: 100px; width: 250px;">
|
|
|
|
|
</q-img>-->
|
2021-12-23 14:14:39 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" src="./CVerifyTelegram.ts">
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
@import './CVerifyTelegram.scss';
|
|
|
|
|
</style>
|