warn about storage

This commit is contained in:
jb-alvarado 2024-08-22 20:29:16 +02:00
parent 90dcd3b23e
commit ec5b3be0e9
6 changed files with 11 additions and 5 deletions

View File

@ -6,10 +6,7 @@
{{ $t('config.addChannel') }}
</button>
</div>
<form
class="w-full"
@submit.prevent="onSubmitChannel"
>
<form class="w-full" @submit.prevent="onSubmitChannel">
<label class="form-control w-full">
<div class="label">
<span class="label-text">{{ $t('config.name') }}</span>
@ -45,7 +42,11 @@
</label>
<template v-if="authStore.role === 'GlobalAdmin'">
<label class="form-control w-full mt-5">
<div v-if="configStore.playout.storage.shared_storage" class="mt-7 font-bold">
<SvgIcon name="warning" classes="inline mr-2" />
<span>{{ $t('config.sharedStorage') }}</span>
</div>
<label class="form-control w-full">
<div class="label">
<span class="label-text">{{ $t('config.hlsPath') }}</span>
</div>

View File

@ -57,6 +57,7 @@
v-if="name === 'warning'"
xmlns="http://www.w3.org/2000/svg"
class="stroke-current shrink-0 h-6 w-6"
:class="classes"
fill="none"
viewBox="0 0 24 24"
>

View File

@ -203,6 +203,7 @@ export default {
hlsPath: 'HLS-Pfad',
playlistPath: 'Wiedergabelistenpfad',
storagePath: 'Speicherpfad',
sharedStorage: 'Gemeinsamer Speicher ist aktiviert, verwenden Sie denselben Speicherstamm für alle Kanäle!',
},
user: {
title: 'Benutzer-Konfiguration',

View File

@ -202,6 +202,7 @@ export default {
hlsPath: 'HLS Path',
playlistPath: 'Playlist Path',
storagePath: 'Storage Path',
sharedStorage: 'Shared storage is enabled, use the same storage root for all channels!',
},
user: {
title: 'User Configuration',

View File

@ -202,6 +202,7 @@ export default {
hlsPath: 'HLS Path',
playlistPath: 'Playlist Path',
storagePath: 'Storage Path',
sharedStorage: 'O armazenamento compartilhado está ativado, use a mesma raiz de armazenamento para todos os canais',
},
user: {
title: 'Configuração de usuário',

View File

@ -202,6 +202,7 @@ export default {
hlsPath: 'HLS Path',
playlistPath: 'Playlist Path',
storagePath: 'Storage Path',
sharedStorage: 'Общее хранилище включено, используйте один и тот же корень хранилища для всех каналов!',
},
user: {
title: 'Конфигурация пользователя',