mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
lnbits paid articles added
This commit is contained in:
@@ -47,6 +47,11 @@
|
|||||||
|
|
||||||
@foreach($libraryItems as $libraryItem)
|
@foreach($libraryItems as $libraryItem)
|
||||||
@if($libraryItem->approved || $libraryItem->created_by === auth()->id() || auth()->user()?->hasRole('news-editor'))
|
@if($libraryItem->approved || $libraryItem->created_by === auth()->id() || auth()->user()?->hasRole('news-editor'))
|
||||||
|
@php
|
||||||
|
if($libraryItem->sats && !auth()->check()) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
@endphp
|
||||||
<div wire:key="library_item_{{ $libraryItem->id }}" wire:loading.class="opacity-25"
|
<div wire:key="library_item_{{ $libraryItem->id }}" wire:loading.class="opacity-25"
|
||||||
class="relative flex flex-col overflow-hidden rounded-lg border-2 border-[#F7931A]">
|
class="relative flex flex-col overflow-hidden rounded-lg border-2 border-[#F7931A]">
|
||||||
@if($libraryItem->sats)
|
@if($libraryItem->sats)
|
||||||
|
|||||||
Reference in New Issue
Block a user