diff --git a/content/author.blade.php b/content/author.blade.php index 3f995f0..fc8d522 100644 --- a/content/author.blade.php +++ b/content/author.blade.php @@ -277,7 +277,7 @@ @if ($nach->category) -
+

{{ $nach->category->name}}

diff --git a/content/category.blade.php b/content/category.blade.php index ec5b386..23a1d96 100644 --- a/content/category.blade.php +++ b/content/category.blade.php @@ -156,46 +156,10 @@ - @include('template.'.\Setting::get('template', 'default').'.content.includes.create-content') - - -
- @if (session()->has('success')) -
-
- @if(is_array(session()->get('success'))) - - @else - {{ session()->get('success') }} - @endif -
-
- @endif - @if (session()->has('error')) -
-
- @if(is_array(session()->get('error'))) - - @else - {{ session()->get('error') }} - @endif -
-
- @endif + +
@foreach($nachrichten as $nach) @@ -203,167 +167,7 @@
- @if ($nach->paid != 0 and (empty($nach->premium_until) or $nach->premium_until > date('Y-m-d')) and !\Session::get('premium_code')) -
-
- -
- - @if($nach->created_at->diffInHours(date('Y-m-d H:i:s')) < 1) -
-
- {{ $nach->created_at->diffForHumans() }} veröffentlicht -
-
-
- @endif - - -

{{$nach->title}}

-
- -
- @if ($nach->user and $nach->user->public_author == 1) - - - {{ $nach->user->name }} - - {{date('d.m.Y H:i', strtotime($nach->created_at))}} - @else - {{date('d.m.Y H:i', strtotime($nach->created_at))}} - @endif -
- - @if ($nach->category) - -
-

{{ $nach->category->name}}

-
-
- @endif - - @if ($nach->image) - - @endif - -
- -
-
-
- - {!! \Str::limit($nach->nachrichten, 285, ' ...') !!} -
-
- - @if ($nach->type_id == 2) -

-

{{ __('public.work-location') }}

-
{{ isset($nach->additional_fields['workplace']) ? \Str::limit($nach->additional_fields['workplace'], 30, ' ...') : '-'}} -
-

- -

-

{{ __('public.contact-data') }}

-
{!! isset($nach->additional_fields['contact_info']) ? \Str::limit($nach->additional_fields['contact_info'], 30, ' ...') : '-' !!} -
-

- @endif - -
-
- -
- -

{{ __('public.premium-content') }}

- - @if (!empty($nach->premium_until) and $nach->premium_until > date('Y-m-d')) - {{ __('public.article-requires-payment') }}mjn
-
- @endif - -

To read the article - - @if (!empty($nach->premium_until) and $nach->premium_until > date('Y-m-d')) - {{ __('public.now') }}now - @endif - {{ __('public.please-pay') }} {{ $nach->paid }} sats

- -
-

- Pay {{ $nach->paid }} sats -
- {{ __('public.use') }} {{ __('public.premium-pass') }} - - @include('template.'.\Setting::get('template', 'default').'.content.includes.explain-lightning') - -
-

- -
-
- - -
- -
-
-
- - - - -
- - - - @if (env('APP_COMMENTS', false)) - - @endif - - - - - -
-
- - @else
@@ -397,7 +201,7 @@ @if ($nach->category) -
+

{{ $nach->category->name}}

@@ -425,64 +229,7 @@ @if($nach->type_id == 3)
-
- @if($nach->show_total_paid_action == 1) - - @if ($nach->actions->count() > 1) - -
- - {{ __('public.vote-distribution') }} -
- @foreach ($nach->actions as $action) -
{{ !empty($nach->total_paid_actions()) ? round(($action->payments()->where('status', 1)->sum('amount') * 100) / $nach->total_paid_actions()) : 0 }}%
- - @endforeach -
-
- -
- @endif - @endif - - - - - - - @foreach ($nach->actions as $action) - -
- - {{ $action->description }} -
- - @if ($action->type == 2) -
- - @endif - - - -
- @endforeach -
@foreach ($nach->actions as $action) @@ -565,7 +312,6 @@
- @endif
diff --git a/content/master.blade.php b/content/master.blade.php index f3b0415..9e3e244 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -58,7 +58,7 @@