From c04d4d76333945c92c27ba6056dba720ec15ed59 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Fri, 17 Mar 2023 14:14:50 +0100 Subject: [PATCH] tags creation added --- .../news/intern-article-view.blade.php | 100 ++++++++++++------ 1 file changed, 66 insertions(+), 34 deletions(-) diff --git a/resources/views/livewire/news/intern-article-view.blade.php b/resources/views/livewire/news/intern-article-view.blade.php index 0055689d..5beeb4ac 100644 --- a/resources/views/livewire/news/intern-article-view.blade.php +++ b/resources/views/livewire/news/intern-article-view.blade.php @@ -4,22 +4,31 @@
-
+
-
-
-
+
+

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

@@ -51,8 +60,11 @@
-
- {{ $libraryItem->name }} +
+ {{ $libraryItem->name }}
{{ $libraryItem->main_image_caption ?? $libraryItem->name }}
-
+
@@ -84,7 +97,7 @@ {{ __('Open on Youtube') }} - @else + @elseif($libraryItem->type !== 'markdown_article') {{ __('Open') }} @@ -107,23 +120,24 @@ @if($libraryItem->type !== 'markdown_article') route('libraryItem.view', ['libraryItem' => $libraryItem]) }}', + }" @click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Share url copied!') }}',icon:'success'});" lg black> {{ __('Share link') }} - @else + @elseif($libraryItem->news) route('article.view', ['libraryItem' => $libraryItem]) }}', + }" @click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Share url copied!') }}',icon:'success'});" xs black> {{ __('Share link') }} + @else @endif
@@ -133,7 +147,7 @@
@endif - @if($libraryItem->type === 'markdown_article') + @if($libraryItem->type === 'markdown_article' || $libraryItem->type === 'markdown_article_extern') {!! $libraryItem->value !!} @@ -180,16 +194,20 @@ Pay with lightning -
{{ __('already paid?') }}
+
{{ __('already paid?') }} +
@else -
+
{{ __('Click QR-Code to open your wallet') }}
@@ -199,7 +217,8 @@ class="absolute top-1/2 left-1/2 -z-10 h-[64rem] w-[64rem] -translate-x-1/2 [mask-image:radial-gradient(closest-side,white,transparent)]" aria-hidden="true"> + fill="url(#827591b1-ce8c-4110-b064-7cb85a0b1217)" + fill-opacity="0.7"/> @@ -209,17 +228,23 @@ @endif @if($alreadyPaid) -
-
-
- - +
+
+ +
@if($checkThisPaymentHash) -
+
@endif
@endif @@ -229,8 +254,11 @@ x-data="{ textToCopy: '{{ $this->paymentHash }}', }" - @click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Payment hash copied!') }}',icon:'success'});" class="w-full flex flex-col space-y-2 justify-center" wire:key="paymentHash"> -
+ @click.prevent="window.navigator.clipboard.writeText(textToCopy);window.$wireui.notify({title:'{{ __('Payment hash copied!') }}',icon:'success'});" + class="w-full flex flex-col space-y-2 justify-center" + wire:key="paymentHash"> +
@@ -244,11 +272,13 @@ {{ __('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
@@ -265,7 +295,8 @@ @endif @if($payNymQrCode) -
+

PayNym

qrcode @@ -274,7 +305,8 @@ @endif
-
+
@if($libraryItem->lecturer->lightning_address || $libraryItem->lecturer->lnurl || $libraryItem->lecturer->node_id)

value-4-value