Simplify cloud provider token button labels (#7686)

This commit is contained in:
Andras Bacsai 2025-12-18 12:19:33 +01:00 committed by GitHub
commit 2b5fcb3f53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,12 +23,12 @@ class="flex flex-col gap-1 p-2 border dark:border-coolgray-200 hover:no-underlin
<div class="flex gap-2 pt-2"> <div class="flex gap-2 pt-2">
@can('view', $savedToken) @can('view', $savedToken)
<x-forms.button wire:click="validateToken({{ $savedToken->id }})" type="button"> <x-forms.button wire:click="validateToken({{ $savedToken->id }})" type="button">
Validate Token Validate
</x-forms.button> </x-forms.button>
@endcan @endcan
@can('delete', $savedToken) @can('delete', $savedToken)
<x-modal-confirmation title="Confirm Token Deletion?" isErrorButton buttonTitle="Delete Token" <x-modal-confirmation title="Confirm Token Deletion?" isErrorButton buttonTitle="Delete"
submitAction="deleteToken({{ $savedToken->id }})" :actions="[ submitAction="deleteToken({{ $savedToken->id }})" :actions="[
'This cloud provider token will be permanently deleted.', 'This cloud provider token will be permanently deleted.',
'Any servers using this token will need to be reconfigured.', 'Any servers using this token will need to be reconfigured.',