2023-11-13 13:44:54 +00:00
|
|
|
<div>
|
|
|
|
@if (data_get(auth()->user(), 'is_notification_sponsorship_enabled'))
|
2024-03-20 11:54:06 +00:00
|
|
|
<x-popup>
|
|
|
|
<x-slot:title>
|
|
|
|
Love Coolify as we do?
|
|
|
|
</x-slot:title>
|
|
|
|
<x-slot:description>
|
|
|
|
<span>Please
|
|
|
|
consider donating on <a href="https://github.com/sponsors/coollabsio"
|
|
|
|
class="text-xs text-white underline">GitHub</a> or <a href="https://opencollective.com/coollabsio"
|
|
|
|
class="text-xs text-white underline">OpenCollective</a>.<br><br></span>
|
|
|
|
<span>It enables us to keep creating features without paywalls, ensuring our work remains free and
|
|
|
|
open.</span>
|
|
|
|
</x-slot:description>
|
|
|
|
<x-slot:button-text wire:click='disableSponsorship'>
|
|
|
|
Disable This Popup
|
|
|
|
</x-slot:button-text>
|
|
|
|
</x-popup>
|
|
|
|
{{-- <div class="toast">
|
2024-03-21 11:44:32 +00:00
|
|
|
<div class="flex flex-col text-white rounded alert-error bg-coolgray-200">
|
2023-11-13 13:44:54 +00:00
|
|
|
<span>Love Coolify as we do? <a href="https://coolify.io/sponsorships"
|
|
|
|
class="underline text-warning">Please
|
|
|
|
consider donating!</a>💜</span>
|
|
|
|
<span>It enables us to keep creating features without paywalls, ensuring our work remains free and
|
|
|
|
open.</span>
|
2024-03-07 11:58:04 +00:00
|
|
|
<x-forms.button class="bg-coolgray-400" wire:click='disableSponsorship'>Disable This
|
|
|
|
Popup</x-forms.button>
|
2023-11-13 13:44:54 +00:00
|
|
|
</div>
|
2024-03-20 11:54:06 +00:00
|
|
|
</div> --}}
|
2023-11-13 13:44:54 +00:00
|
|
|
@endif
|
2024-03-20 11:54:06 +00:00
|
|
|
{{-- <x-popup /> --}}
|
2024-02-25 21:08:44 +00:00
|
|
|
@if (currentTeam()->serverOverflow())
|
2024-02-26 09:25:21 +00:00
|
|
|
<x-banner :closable=false>
|
|
|
|
<div><span class="font-bold text-red-500">WARNING:</span> The number of active servers exceeds the limit
|
|
|
|
covered by your payment. If not resolved, some of your servers <span class="font-bold text-red-500">will
|
|
|
|
be deactivated</span>. Visit <a href="{{ route('subscription.show') }}"
|
|
|
|
class="text-white underline">/subscription</a> to update your subscription or remove some servers.
|
|
|
|
</div>
|
|
|
|
</x-banner>
|
2024-02-25 21:08:44 +00:00
|
|
|
@endif
|
2024-03-07 11:58:04 +00:00
|
|
|
@if (!currentTeam()->isAnyNotificationEnabled())
|
|
|
|
<div class="toast">
|
2024-03-21 11:44:32 +00:00
|
|
|
<div class="flex flex-col text-white rounded alert-error bg-coolgray-200">
|
2024-03-20 11:54:06 +00:00
|
|
|
<span><span class="font-bold text-red-500">WARNING:</span> No notifications enabled.<br><br> It is
|
|
|
|
highly recommended to enable at least
|
2024-03-07 11:58:04 +00:00
|
|
|
one
|
2024-03-20 11:54:06 +00:00
|
|
|
notification channel to receive important alerts.<br>Visit <a
|
|
|
|
href="{{ route('notification.index') }}" class="text-white underline">/notification</a> to
|
|
|
|
enable notifications.</span>
|
2024-03-07 11:58:04 +00:00
|
|
|
<x-forms.button class="bg-coolgray-400" wire:click='disableNotifications'>Disable This
|
|
|
|
Popup</x-forms.button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endif
|
2023-11-13 13:44:54 +00:00
|
|
|
</div>
|