Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Feat: confirm scheduled tasks

ayntk-aibbbd5cbaa168
diff --git a/resources/views/livewire/project/shared/scheduled-task/show.blade.php b/resources/views/livewire/project/shared/scheduled-task/show.blade.php
index bc2ede3a35..b4845fb25a 100644
--- a/resources/views/livewire/project/shared/scheduled-task/show.blade.php
+++ b/resources/views/livewire/project/shared/scheduled-task/show.blade.php
@@ -17,15 +17,16 @@
Save
</x-forms.button>
<x-modal-confirmation
- title="Confirm Scheduled Task Deletion?"
- isErrorButton
- buttonTitle="Delete"
- isErrorButton
- :actions="['You will delete the selected scheduled task.']"
- confirmationLabel="Please confirm the execution of the actions by entering the Scheduled Task Name below"
- shortConfirmationLabel="Scheduled Task Name"
- confirmText="{{ $scheduledTaskName }}"
- submitAction="delete({{ $task->id }})"
+ title="Confirm Scheduled Task Deletion?"
+ isErrorButton
+ buttonTitle="Delete"
+ submitAction="delete({{ $task->id }})"
+ :actions="['The selected scheduled task will be permanently deleted.']"
+ confirmationText="{{ $task->name }}"
+ confirmationLabel="Please confirm the execution of the actions by entering the Scheduled Task Name below"
+ shortConfirmationLabel="Scheduled Task Name"
+ :confirmWithPassword="false"
+ step2ButtonText="Permanently Delete Scheduled Task"
/>
</div>
<div class="w-48">