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.

fix: tag mass redeployments

Andras Bacsai2ca73695b335
diff --git a/resources/views/livewire/tags/index.blade.php b/resources/views/livewire/tags/index.blade.php
index 88c47cb7d5..287e1da55a 100644
--- a/resources/views/livewire/tags/index.blade.php
+++ b/resources/views/livewire/tags/index.blade.php
@@ -20,18 +20,14 @@
<div class="w-[500px]">
<x-forms.input readonly label="Deploy Webhook URL" id="webhook" />
</div>
- <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"
- />
+ <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="{{ $tag }}"
+ 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)
diff --git a/resources/views/livewire/tags/show.blade.php b/resources/views/livewire/tags/show.blade.php
index 0b743a3e51..869b56daeb 100644
--- a/resources/views/livewire/tags/show.blade.php
+++ b/resources/views/livewire/tags/show.blade.php
@@ -24,18 +24,13 @@
<div class="w-[500px]">
<x-forms.input readonly label="Deploy Webhook URL" id="webhook" />
</div>
- <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"
- />
+ <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="{{ $tag }}"
+ 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)