Line data Source code
1 : <template>
2 2042 : <div role="status" aria-live="polite">
3 : <div
4 : v-if="gate !== 'none'"
5 : id="partner-run-gate-caption"
6 : class="mt-2 w-full border-t border-border/50 bg-background px-4 pt-2 select-none"
7 : data-testid="partner-run-gate-caption"
8 : >
9 : <div class="flex w-full items-center justify-center gap-2">
10 : <i
11 : class="icon-[lucide--info] text-muted-foreground"
12 : aria-hidden="true"
13 : />
14 : {{ t('actionbar.partnerRunGate.signInCaption') }}
15 : </div>
16 : </div>
17 : </div>
18 : </template>
19 :
20 : <script setup lang="ts">
21 : import { useI18n } from 'vue-i18n'
22 :
23 : import { usePartnerNodesRunGate } from '@/platform/billing/composables/usePartnerNodesRunGate'
24 :
25 2012 : const { t } = useI18n()
26 2012 : const { gate } = usePartnerNodesRunGate()
27 : </script>
|