Skip to content

Commit 6a86030

Browse files
committed
feat: Added banner notice when selecting a local configu
1 parent c58f3d7 commit 6a86030

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

lang/da.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,5 +868,7 @@
868868
"The pagination count must be at least 1.": "Paginationstællingen skal være mindst 1.",
869869
"The pagination count may not be greater than 100.": "Paginationstællingen må ikke være større end 100.",
870870
"The pagination count must be 15, 30, 50, or 100.": "Paginationstællingen skal være 15, 30, 50 eller 100.",
871-
":count per page": ":count per side"
871+
":count per page": ":count per side",
872+
"About Local Configuration": "Om lokal konfiguration",
873+
"You will specify a local path when creating a Backup Task.": "Du vil angive en lokal sti, når du opretter en sikkerhedskopieringsopgave."
872874
}

resources/views/livewire/backup-destinations/create-backup-destination-form.blade.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
</x-slot>
99
<x-slot name="icon">hugeicons-folder-cloud</x-slot>
1010
<form wire:submit="submit">
11+
@if ($type === 'local')
12+
<!-- Show a little banner explaining more about local configuration -->
13+
<x-notice
14+
type="warning"
15+
title="{{ __('About Local Configuration') }}"
16+
text="{{ __('You will specify a local path when creating a Backup Task.') }}"
17+
/>
18+
@endif
19+
1120
<div class="mt-4 flex flex-col space-y-4 md:flex-row md:space-x-6 md:space-y-0">
1221
<div class="w-full md:w-3/6">
1322
<x-input-label for="label" :value="__('Label')" />

0 commit comments

Comments
 (0)