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.

Update version numbers and fix layout in subscription views

Andras Bacsaic9160cabc5bf
diff --git a/config/sentry.php b/config/sentry.php
index d7469ecfc6..00613c1150 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
- 'release' => '4.0.0-beta.242',
+ 'release' => '4.0.0-beta.243',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index f67327b64e..a16c004bf4 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.242';
+return '4.0.0-beta.243';
diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php
index 7db8da43be..cfdd68291f 100644
--- a/resources/views/auth/verify-email.blade.php
+++ b/resources/views/auth/verify-email.blade.php
@@ -1,6 +1,6 @@
-<x-layout-subscription>
- <div class="min-h-screen hero">
- <div class="min-w-fit">
+<x-layout>
+ <section class="flex flex-col h-full lg:items-center lg:justify-center">
+ <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto max-w-7xl lg:py-0">
<h1> Verification Email Sent </h1>
<div class="flex justify-center gap-2 text-center">
<br>To activate your account, please open the email and follow the
@@ -8,5 +8,5 @@
</div>
<livewire:verify-email />
</div>
- </div>
-</x-layout-subscription>
+ </section>
+</x-layout>
diff --git a/resources/views/layouts/boarding.blade.php b/resources/views/layouts/boarding.blade.php
index f65e14a00f..4a897ff2fe 100644
--- a/resources/views/layouts/boarding.blade.php
+++ b/resources/views/layouts/boarding.blade.php
@@ -1,7 +1,7 @@
@extends('layouts.base')
@section('body')
<main class="h-full bg-gray-50 dark:bg-base">
- {{ $slot }}
+ {{ $slot }}
</main>
@parent
@endsection
diff --git a/resources/views/livewire/subscription/index.blade.php b/resources/views/livewire/subscription/index.blade.php
index 227b94ef7b..4c2a03374c 100644
--- a/resources/views/livewire/subscription/index.blade.php
+++ b/resources/views/livewire/subscription/index.blade.php
@@ -1,38 +1,40 @@
-@if ($settings->is_resale_license_active)
- @if (auth()->user()->isAdminFromSession())
- <div>
- <div class="flex gap-2">
- <h1>Choose a Plan</h1>
- @if (subscriptionProvider() === 'stripe' && $alreadySubscribed)
- <x-forms.button wire:click='stripeCustomerPortal'>Manage My Subscription</x-forms.button>
+<div>
+ @if ($settings->is_resale_license_active)
+ @if (auth()->user()->isAdminFromSession())
+ <div>
+ <div class="flex gap-2">
+ <h1>Choose a Plan</h1>
+ @if (subscriptionProvider() === 'stripe' && $alreadySubscribed)
+ <x-forms.button wire:click='stripeCustomerPortal'>Manage My Subscription</x-forms.button>
+ @endif
+ </div>
+ @if (request()->query->get('cancelled'))
+ <div class="mb-6 rounded alert-error">
+ <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none"
+ viewBox="0 0 24 24">
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
+ d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
+ </svg>
+ <span>Something went wrong with your subscription. Please try again or contact
+ support.</span>
+ </div>
+ @endif
+
+ @if (config('subscription.provider') !== null)
+ <livewire:subscription.pricing-plans />
@endif
</div>
- @if (request()->query->get('cancelled'))
- <div class="mb-6 rounded alert-error">
- <svg xmlns="http://www.w3.org/2000/svg" class="w-6 h-6 stroke-current shrink-0" fill="none"
- viewBox="0 0 24 24">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
- d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
- </svg>
- <span>Something went wrong with your subscription. Please try again or contact
- support.</span>
+ @else
+ <div class="flex flex-col justify-center mx-10">
+ <div class="flex gap-2">
+ <h1>Subscription</h1>
</div>
- @endif
-
- @if (config('subscription.provider') !== null)
- <livewire:subscription.pricing-plans />
- @endif
- </div>
- @else
- <div class="flex flex-col justify-center mx-10">
- <div class="flex gap-2">
- <h1>Subscription</h1>
+ <div>You are not an admin or have been removed from this team. If this does not make sense, please <span
+ class="underline cursor-pointer dark:text-white" wire:click="help">contact
+ us</span>.</div>
</div>
- <div>You are not an admin or have been removed from this team. If this does not make sense, please <span
- class="dark:text-white underline cursor-pointer" wire:click="help">contact
- us</span>.</div>
- </div>
+ @endif
+ @else
+ <div class="px-10">Resale license is not active. Please contact your instance admin.</div>
@endif
-@else
- <div class="px-10">Resale license is not active. Please contact your instance admin.</div>
-@endif
+</div>
diff --git a/versions.json b/versions.json
index bcc5d14140..fda35b876e 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.242"
+ "version": "4.0.0-beta.243"
}
}
}