<template>
  <div class="q-ma-xs q-pa-xs row">
    <div v-if="non_hai_circuito_nazionale" class="q-py-sm">
      <q-banner rounded class="bg-red text-white" style="text-align: center">
        {{ $t('circuit.non_hai_circuito_nazionale') }}
        <br />
      </q-banner>

      <div class="text-center">
        <q-btn
          glossy
          size="md"
          :label="$t('circuit.ask_italia')"
          icon="fas fa-key"
          color="green"
          text-color="white"
          rounded
          :to="tools.updateLink('/circuit/ris_italia')"
        ></q-btn>
      </div>
    </div>
    <div v-if="destin_non_ha_circuito_naz" class="q-py-sm">
      <q-banner rounded class="bg-red text-white" style="text-align: center">
        {{ $t('circuit.destin_non_ha_circuito_naz') }}
        <br />
      </q-banner>

      <div class="text-center">
        <q-btn
          glossy
          size="md"
          :label="$t('circuit.invia_msg_dest', {name: to_user.username})"
          icon="fas fa-paper-plane"
          color="blue"
          text-color="white"
          rounded
          @click="tools.SendMsgRisItalia($q, to_user.username)"
        ></q-btn>
      </div>
    </div>
  </div>
</template>

<script lang="ts" src="./CCheckCircuitsEnabled.ts">
</script>

<style lang="scss" scoped>
@import './CCheckCircuitsEnabled.scss';
</style>
