mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-26 12:34:32 +00:00
refactor: Update confirmation button text for deletion actions
This commit is contained in:
@@ -15,17 +15,14 @@
|
||||
<div>{{ $user->email }}</div>
|
||||
<div class="flex-1"></div>
|
||||
<div class="flex items-center justify-center gap-2 mx-4 text-xs font-bold ">
|
||||
<x-modal-confirmation
|
||||
title="Confirm User Deletion?"
|
||||
buttonTitle="Delete"
|
||||
isErrorButton
|
||||
submitAction="delete({{ $user->id }})"
|
||||
:actions="['The selected user will be permanently deleted from Coolify and the database.', 'All resources (application, databases, services, configurations, servers, private keys, tags, etc.) related to this user will be deleted from Coolify and from the server (if the server is reachable).']"
|
||||
<x-modal-confirmation title="Confirm User Deletion?" buttonTitle="Delete" isErrorButton
|
||||
submitAction="delete({{ $user->id }})" :actions="[
|
||||
'The selected user will be permanently deleted from Coolify and the database.',
|
||||
'All resources (application, databases, services, configurations, servers, private keys, tags, etc.) related to this user will be deleted from Coolify and from the server (if the server is reachable).',
|
||||
]"
|
||||
confirmationText="{{ $user->name }}"
|
||||
confirmationLabel="Please confirm the execution of the actions by entering the User Name below"
|
||||
shortConfirmationLabel="User Name"
|
||||
step3ButtonText="Permanently Delete User"
|
||||
/>
|
||||
shortConfirmationLabel="User Name" step3ButtonText="Permanently Delete" />
|
||||
</div>
|
||||
</div>
|
||||
@empty
|
||||
|
||||
@@ -31,18 +31,11 @@
|
||||
@else
|
||||
@if (currentTeam()->isEmpty())
|
||||
<div class="pb-4">This will delete your team. Beware! There is no coming back!</div>
|
||||
<x-modal-confirmation
|
||||
title="Confirm Team Deletion?"
|
||||
buttonTitle="Delete"
|
||||
isErrorButton
|
||||
submitAction="delete({{ currentTeam()->id }})"
|
||||
:actions="['The current team will be permanently deleted from Coolify and the database.']"
|
||||
<x-modal-confirmation title="Confirm Team Deletion?" buttonTitle="Delete" isErrorButton
|
||||
submitAction="delete({{ currentTeam()->id }})" :actions="['The current team will be permanently deleted from Coolify and the database.']"
|
||||
confirmationText="{{ currentTeam()->name }}"
|
||||
confirmationLabel="Please confirm the execution of the actions by entering the Team Name below"
|
||||
shortConfirmationLabel="Team Name"
|
||||
:confirmWithPassword="false"
|
||||
step2ButtonText="Permanently Delete Team"
|
||||
/>
|
||||
shortConfirmationLabel="Team Name" :confirmWithPassword="false" step2ButtonText="Permanently Delete" />
|
||||
@else
|
||||
<div>
|
||||
<div class="pb-4">You need to delete the following resources to be able to delete the team:</div>
|
||||
|
||||
Reference in New Issue
Block a user