From a520c26dba04da4bb871366845c507e6fc5e99b4 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Tue, 6 Dec 2022 15:09:48 +0100 Subject: [PATCH] login changed --- composer.lock | 12 ++++++------ resources/views/auth/login.blade.php | 9 ++++++++- resources/views/auth/register.blade.php | 9 ++++++++- resources/views/livewire/auth/ln-url-auth.blade.php | 12 ++++++++++-- resources/views/livewire/frontend/library.blade.php | 6 +++++- 5 files changed, 37 insertions(+), 11 deletions(-) diff --git a/composer.lock b/composer.lock index 84dea70f..88d4fb99 100644 --- a/composer.lock +++ b/composer.lock @@ -6781,16 +6781,16 @@ }, { "name": "spatie/laravel-medialibrary", - "version": "10.7.3", + "version": "10.7.4", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "d42ef44607527aa9196b3e9eaf691c22ea5e4ff0" + "reference": "94803ea1b99deb11e723e15e069ce4c3a07425a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/d42ef44607527aa9196b3e9eaf691c22ea5e4ff0", - "reference": "d42ef44607527aa9196b3e9eaf691c22ea5e4ff0", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/94803ea1b99deb11e723e15e069ce4c3a07425a3", + "reference": "94803ea1b99deb11e723e15e069ce4c3a07425a3", "shasum": "" }, "require": { @@ -6873,7 +6873,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-medialibrary/issues", - "source": "https://github.com/spatie/laravel-medialibrary/tree/10.7.3" + "source": "https://github.com/spatie/laravel-medialibrary/tree/10.7.4" }, "funding": [ { @@ -6885,7 +6885,7 @@ "type": "github" } ], - "time": "2022-11-27T10:46:08+00:00" + "time": "2022-12-06T07:29:40+00:00" }, { "name": "spatie/laravel-package-tools", diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 2c07ced5..ffeca6e5 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -13,6 +13,13 @@ @endif
+ +
+ + {{ __('Zurück zur Webseite') }} + +
+ @csrf
@@ -52,7 +59,7 @@
- LN-Auth + LNURL-Auth
diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php index 37de58d5..61c32004 100644 --- a/resources/views/auth/register.blade.php +++ b/resources/views/auth/register.blade.php @@ -7,6 +7,13 @@
+ +
+ + {{ __('Zurück zur Webseite') }} + +
+ @csrf
@@ -72,7 +79,7 @@
- LN-Auth + LNURL-Auth
diff --git a/resources/views/livewire/auth/ln-url-auth.blade.php b/resources/views/livewire/auth/ln-url-auth.blade.php index 6e7211a7..7775f6c2 100644 --- a/resources/views/livewire/auth/ln-url-auth.blade.php +++ b/resources/views/livewire/auth/ln-url-auth.blade.php @@ -4,7 +4,15 @@
+ +
+ + {{ __('Zurück zur Webseite') }} + +
+
+
{!! $this->qrCode !!}
@@ -32,11 +40,11 @@
- {{ __('Switch to E-Mail login') }} + {{ __('E-Mail login') }} - {{ __('Switch to E-Mail signup') }} + {{ __('E-Mail Registrierung') }}
diff --git a/resources/views/livewire/frontend/library.blade.php b/resources/views/livewire/frontend/library.blade.php index 3b6befd9..69301ad4 100644 --- a/resources/views/livewire/frontend/library.blade.php +++ b/resources/views/livewire/frontend/library.blade.php @@ -7,7 +7,11 @@
-

Bibliotheken

+ @if(request()->route()->getName() === 'library.lecturer') +

Dozenten-Bibliotheken

+ @else +

Bibliotheken

+ @endif