Skip to content

Commit 2ca7369

Browse files
committed
fix: tag mass redeployments
1 parent 65aeebd commit 2ca7369

File tree

2 files changed

+15
-24
lines changed

2 files changed

+15
-24
lines changed

resources/views/livewire/tags/index.blade.php

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,14 @@
2020
<div class="w-[500px]">
2121
<x-forms.input readonly label="Deploy Webhook URL" id="webhook" />
2222
</div>
23-
<x-modal-confirmation
24-
title="Redeploy all resources with this tag?"
25-
isHighlighted
26-
buttonTitle="Redeploy All"
27-
submitAction="redeploy_all"
28-
:actions="['All resources with this tag will be redeployed.', 'During redeploy resources will be temporarily unavailable.']"
29-
confirmationText="{{ $oneTag->name }}"
30-
confirmationLabel="Please confirm the execution of the actions by entering the Tag Name below"
31-
shortConfirmationLabel="Tag Name"
32-
:confirmWithPassword="false"
33-
step2ButtonText="Redeploy All"
34-
/>
23+
<x-modal-confirmation title="Redeploy all resources with this tag?" isHighlighted
24+
buttonTitle="Redeploy All" submitAction="redeploy_all" :actions="[
25+
'All resources with this tag will be redeployed.',
26+
'During redeploy resources will be temporarily unavailable.',
27+
]"
28+
confirmationText="{{ $tag }}"
29+
confirmationLabel="Please confirm the execution of the actions by entering the Tag Name below"
30+
shortConfirmationLabel="Tag Name" :confirmWithPassword="false" step2ButtonText="Redeploy All" />
3531
</div>
3632
<div class="grid grid-cols-1 gap-2 pt-4 lg:grid-cols-2 xl:grid-cols-3">
3733
@foreach ($applications as $application)

resources/views/livewire/tags/show.blade.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,13 @@
2424
<div class="w-[500px]">
2525
<x-forms.input readonly label="Deploy Webhook URL" id="webhook" />
2626
</div>
27-
<x-modal-confirmation
28-
title="Redeploy all resources with this tag?"
29-
isHighlighted
30-
buttonTitle="Redeploy All"
31-
submitAction="redeploy_all"
32-
:actions="['All resources with this tag will be redeployed.', 'During redeploy resources will be temporarily unavailable.']"
33-
confirmationText="{{ $oneTag->name }}"
34-
confirmationLabel="Please confirm the execution of the actions by entering the Tag Name below"
35-
shortConfirmationLabel="Tag Name"
36-
:confirmWithPassword="false"
37-
step2ButtonText="Redeploy All"
38-
/>
27+
<x-modal-confirmation title="Redeploy all resources with this tag?" isHighlighted buttonTitle="Redeploy All"
28+
submitAction="redeploy_all" :actions="[
29+
'All resources with this tag will be redeployed.',
30+
'During redeploy resources will be temporarily unavailable.',
31+
]" confirmationText="{{ $tag }}"
32+
confirmationLabel="Please confirm the execution of the actions by entering the Tag Name below"
33+
shortConfirmationLabel="Tag Name" :confirmWithPassword="false" step2ButtonText="Redeploy All" />
3934
</div>
4035
<div class="grid grid-cols-1 gap-2 pt-4 lg:grid-cols-2 xl:grid-cols-3">
4136
@foreach ($applications as $application)

0 commit comments

Comments
 (0)