From b0f16e4cb7d3e6ed15dc313b4109230116895c65 Mon Sep 17 00:00:00 2001 From: Pedro X Date: Tue, 29 Aug 2023 15:11:39 +0100 Subject: [PATCH 1/4] add verification views --- resources/views/auth/verify-email.blade.php | 40 +++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 resources/views/auth/verify-email.blade.php diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php new file mode 100644 index 0000000..81d64f7 --- /dev/null +++ b/resources/views/auth/verify-email.blade.php @@ -0,0 +1,40 @@ +@extends(backpack_view('layouts.plain')) + +@section('content') + +
+
+ {!! backpack_theme_config('project_logo') !!} +
+
+
+ {{ trans('backpack::base.verify_email.email_verification_required') }} + + @if (session('status') == 'verification-link-sent') +
+ +
+ @endif +
+ +
+
+@endsection \ No newline at end of file From 377263122c8df6b4bb1cddbc03621b6c3bf2b1fd Mon Sep 17 00:00:00 2001 From: Pedro X Date: Tue, 29 Aug 2023 22:36:05 +0100 Subject: [PATCH 2/4] make it look like register --- resources/views/auth/verify-email.blade.php | 54 +++++++++++---------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php index 81d64f7..3d53958 100644 --- a/resources/views/auth/verify-email.blade.php +++ b/resources/views/auth/verify-email.blade.php @@ -2,39 +2,41 @@ @section('content') -
-
- {!! backpack_theme_config('project_logo') !!} -
-
-
- {{ trans('backpack::base.verify_email.email_verification_required') }} +
+
+

{{ trans('backpack::base.verify_email.email_verification') }}

+
+
+ {{ trans('backpack::base.verify_email.email_verification_required') }} - @if (session('status') == 'verification-link-sent') -
- -
@endsection \ No newline at end of file From 36d2a018da95d0cb8226bbff684b93c96781cfee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20T=C4=83b=C4=83citu?= Date: Wed, 30 Aug 2023 13:11:31 +0300 Subject: [PATCH 3/4] Apply suggestions from code review --- resources/views/auth/verify-email.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php index 3d53958..162fc0d 100644 --- a/resources/views/auth/verify-email.blade.php +++ b/resources/views/auth/verify-email.blade.php @@ -5,13 +5,13 @@

{{ trans('backpack::base.verify_email.email_verification') }}

-
+
{{ trans('backpack::base.verify_email.email_verification_required') }} @if (session('status') == 'verification-link-sent') -
-