@@ -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
@@ -274,7 +305,8 @@
@endif
-
+
@if($libraryItem->lecturer->lightning_address || $libraryItem->lecturer->lnurl || $libraryItem->lecturer->node_id)
value-4-value