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: Redeploy all confirmation

ayntk-ai44f3f6001ea9
diff --git a/resources/views/livewire/tags/index.blade.php b/resources/views/livewire/tags/index.blade.php
index b38ce3f954..88c47cb7d5 100644
--- a/resources/views/livewire/tags/index.blade.php
+++ b/resources/views/livewire/tags/index.blade.php
@@ -20,9 +20,18 @@
<div class="w-[500px]">
<x-forms.input readonly label="Deploy Webhook URL" id="webhook" />
</div>
- <x-modal-confirmation isHighlighted buttonTitle="Redeploy All" action="redeploy_all">
- All resources will be redeployed.
- </x-modal-confirmation>
+ <x-modal-confirmation
+ title="Redeploy all resources with this tag?"
+ isHighlighted
+ buttonTitle="Redeploy All"
+ submitAction="redeploy_all"
+ :actions="['All resources with this tag will be redeployed.', 'During redeploy resources will be temporarily unavailable.']"
+ confirmationText="{{ $oneTag->name }}"
+ confirmationLabel="Please confirm the execution of the actions by entering the Tag Name below"
+ shortConfirmationLabel="Tag Name"
+ :confirmWithPassword="false"
+ step2ButtonText="Redeploy All"
+ />
</div>
<div class="grid grid-cols-1 gap-2 pt-4 lg:grid-cols-2 xl:grid-cols-3">
@foreach ($applications as $application)