Update button label from "Developer view" to "Developer view (required to set variables at build time).

Without this, there is no way for the browser user to know that these environmental variables ARE NOT available at build time. For newby-ish dev's that a subtle difference that is only manifested because of the way docker builds happen.
This commit is contained in:
pkellner 2024-08-27 09:23:04 -07:00
parent 69fc4c7f52
commit 1a0a115fc1

View File

@ -6,7 +6,7 @@
<livewire:project.shared.environment-variable.add /> <livewire:project.shared.environment-variable.add />
</x-modal-input> </x-modal-input>
<x-forms.button <x-forms.button
wire:click='switch'>{{ $view === 'normal' ? 'Developer view' : 'Normal view' }}</x-forms.button> wire:click='switch'>{{ $view === 'normal' ? 'Developer view' : 'Normal view (required to set variables at build time)' }}</x-forms.button>
</div> </div>
<div>Environment variables (secrets) for this resource. </div> <div>Environment variables (secrets) for this resource. </div>
@if ($this->resourceClass === 'App\Models\Application' && data_get($this->resource, 'build_pack') !== 'dockercompose') @if ($this->resourceClass === 'App\Models\Application' && data_get($this->resource, 'build_pack') !== 'dockercompose')