From 13b3ec6b0b52036634018534da0fa226a483a54e Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Wed, 15 Mar 2023 13:00:55 +0100 Subject: [PATCH] overflow --- composer.lock | 12 +- .../news/intern-article-view.blade.php | 524 +++++++++--------- 2 files changed, 269 insertions(+), 267 deletions(-) diff --git a/composer.lock b/composer.lock index dd9c3743..4d0b9868 100644 --- a/composer.lock +++ b/composer.lock @@ -9391,16 +9391,16 @@ }, { "name": "spatie/laravel-package-tools", - "version": "1.14.1", + "version": "1.14.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-package-tools.git", - "reference": "b477dd2f89d0751f0e51ffb3a70181f0bc7ab8df" + "reference": "bab62023a4745a61170ad5424184533685e73c2d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/b477dd2f89d0751f0e51ffb3a70181f0bc7ab8df", - "reference": "b477dd2f89d0751f0e51ffb3a70181f0bc7ab8df", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/bab62023a4745a61170ad5424184533685e73c2d", + "reference": "bab62023a4745a61170ad5424184533685e73c2d", "shasum": "" }, "require": { @@ -9439,7 +9439,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-package-tools/issues", - "source": "https://github.com/spatie/laravel-package-tools/tree/1.14.1" + "source": "https://github.com/spatie/laravel-package-tools/tree/1.14.2" }, "funding": [ { @@ -9447,7 +9447,7 @@ "type": "github" } ], - "time": "2023-01-27T15:33:45+00:00" + "time": "2023-03-14T16:41:21+00:00" }, { "name": "spatie/laravel-permission", diff --git a/resources/views/livewire/news/intern-article-view.blade.php b/resources/views/livewire/news/intern-article-view.blade.php index 5bd8c62c..ffc7e7fb 100644 --- a/resources/views/livewire/news/intern-article-view.blade.php +++ b/resources/views/livewire/news/intern-article-view.blade.php @@ -3,285 +3,287 @@ {{-- HEADER --}} -
-
-
+
+
+ - - -
-
-
-
-
-

{{ $libraryItem->tags->pluck('name')->join(', ') }}

-

{{ $libraryItem->name }}

-
-
-
-
-
- {{ $libraryItem->lecturer->name }} - {{ $libraryItem->lecturer->name }} +
+
+
+
+
+

{{ $libraryItem->tags->pluck('name')->join(', ') }}

+

{{ $libraryItem->name }}

+
+
+
+
+
+ {{ $libraryItem->lecturer->name }} + {{ $libraryItem->lecturer->name }} +
-
-
-
-
{{ $libraryItem->lecturer->name }}
-
-
- - @if($libraryItem->read_time) - - {{ $libraryItem->read_time }} {{ __('min read') }} - @endif +
+
+
{{ $libraryItem->lecturer->name }}
+
+
+ + @if($libraryItem->read_time) + + {{ $libraryItem->read_time }} {{ __('min read') }} + @endif +
-
-
- {{ $libraryItem->name }} -
- - - {{ $libraryItem->main_image_caption ?? $libraryItem->name }} -
-
-
-
-
+
+ {{ $libraryItem->name }} +
+ + + {{ $libraryItem->main_image_caption ?? $libraryItem->name }} +
+
+
+
+
-
-
- - {!! $libraryItem->subtitle !!} - -
-
-
-
- @if($libraryItem->type !== 'markdown_article' && str($libraryItem->value)->contains('http')) - @if($libraryItem->type === 'youtube_video') - - - {{ __('Open on Youtube') }} - - @else - - - {{ __('Open') }} - - @endif - @endif - @if($libraryItem->type === 'downloadable_file') - - - {{ __('Download') }} - - @endif - @if($libraryItem->type === 'podcast_episode') - - - {{ __('Listen') }} - - @endif - @if($libraryItem->type !== 'markdown_article') - - - {{ __('Share link') }} - - @else - - - {{ __('Share link') }} - - @endif -
- - @if($libraryItem->type === 'youtube_video') -
- -
- @endif - - @if($libraryItem->type === 'markdown_article') - - {!! $libraryItem->value !!} - - @endif -
- - @if($libraryItem->sats && !$invoicePaid) -
-
-

- {{ __('You can read the full article if you paid with Lightning') }} -

-
-
-
-
- {{ $libraryItem->lecturer->name }} - {{ $libraryItem->lecturer->name }} -
-
-
-
-
{{ __('Receiver') }} - : {{ $libraryItem->lecturer->name }}
-
-
- -
-
-
-
- @if(!$invoice) -
- - - Pay with lightning - -
{{ __('already paid?') }}
-
- @else -
-
- {{ __('Click QR-Code to open your wallet') }} -
-
- - qrcode - -
-
- @endif - @if(!$invoice) - - @endif - @if($alreadyPaid) -
-
-
- - - -
-
- @if($checkThisPaymentHash) -
- @endif -
- @endif - @if($invoice) -
-
-
- -
-
- - - {{ __('Copy payment hash') }} - -
-
-

{{ __('As a guest, please save your payment hash so that you can unlock this article later. Unfortunately, we cannot save your purchase status permanently for guests. Please log in to use this feature.') }}

-
-
-
-
- @endif +
+
+ + {!! $libraryItem->subtitle !!} +
- @else
+
+ @if($libraryItem->type !== 'markdown_article' && str($libraryItem->value)->contains('http')) + @if($libraryItem->type === 'youtube_video') + + + {{ __('Open on Youtube') }} + + @else + + + {{ __('Open') }} + + @endif + @endif + @if($libraryItem->type === 'downloadable_file') + + + {{ __('Download') }} + + @endif + @if($libraryItem->type === 'podcast_episode') + + + {{ __('Listen') }} + + @endif + @if($libraryItem->type !== 'markdown_article') + + + {{ __('Share link') }} + + @else + + + {{ __('Share link') }} + + @endif +
- - {!! $libraryItem->value_to_be_paid !!} - - -
- @endif - -
-
- @if($libraryItem->lecturer->lightning_address || $libraryItem->lecturer->lnurl || $libraryItem->lecturer->node_id) -

value-4-value

-
- + @if($libraryItem->type === 'youtube_video') +
+
@endif + + @if($libraryItem->type === 'markdown_article') + + {!! $libraryItem->value !!} + + @endif
- -
+ @if($libraryItem->sats && !$invoicePaid) +
+
+

+ {{ __('You can read the full article if you paid with Lightning') }} +

+
+
+
+
+ {{ $libraryItem->lecturer->name }} + {{ $libraryItem->lecturer->name }} +
+
+
+
+
{{ __('Receiver') }} + : {{ $libraryItem->lecturer->name }}
+
+
+ +
+
+
+
+ @if(!$invoice) +
+ + + Pay with lightning + +
{{ __('already paid?') }}
+
+ @else +
+
+ {{ __('Click QR-Code to open your wallet') }} +
+
+ + qrcode + +
+
+ @endif + @if(!$invoice) + + @endif + @if($alreadyPaid) +
+
+
+ + + +
+
+ @if($checkThisPaymentHash) +
+ @endif +
+ @endif + @if($invoice) +
+
+
+ +
+
+ + + {{ __('Copy payment hash') }} + +
+
+

{{ __('As a guest, please save your payment hash so that you can unlock this article later. Unfortunately, we cannot save your purchase status permanently for guests. Please log in to use this feature.') }}

+
+
+
+
+ @endif +
+
+ @else +
+ + {!! $libraryItem->value_to_be_paid !!} + + +
+ @endif + +
+
+ @if($libraryItem->lecturer->lightning_address || $libraryItem->lecturer->lnurl || $libraryItem->lecturer->node_id) +

value-4-value

+
+ +
+ @endif +
+ + +
+ +