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') }} {{ $t('config.addChannel') }}
</button> </button>
</div> </div>
<form <form class="w-full" @submit.prevent="onSubmitChannel">
class="w-full"
@submit.prevent="onSubmitChannel"
>
<label class="form-control w-full"> <label class="form-control w-full">
<div class="label"> <div class="label">
<span class="label-text">{{ $t('config.name') }}</span> <span class="label-text">{{ $t('config.name') }}</span>
@ -45,7 +42,11 @@
</label> </label>
<template v-if="authStore.role === 'GlobalAdmin'"> <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"> <div class="label">
<span class="label-text">{{ $t('config.hlsPath') }}</span> <span class="label-text">{{ $t('config.hlsPath') }}</span>
</div> </div>

View File

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

View File

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

View File

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

View File

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

View File

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