close #609 Fixed: Empty apps page category page broken

This commit is contained in:
cuneytsenturk
2018-11-09 11:11:56 +03:00
parent 0777c6401b
commit 4197741606
4 changed files with 34 additions and 42 deletions

View File

@ -16,9 +16,13 @@
<h3>{{ trans('modules.top_paid') }}</h3>
</div>
@foreach ($paid->data as $module)
@include('partials.modules.item')
@endforeach
@if ($paid->data)
@foreach ($paid->data as $module)
@include('partials.modules.item')
@endforeach
@else
@include('partials.modules.no_apps')
@endif
</div>
<div class="col-md-12">
@ -26,9 +30,13 @@
<h3>{{ trans('modules.new') }}</h3>
</div>
@foreach ($new->data as $module)
@include('partials.modules.item')
@endforeach
@if ($new->data)
@foreach ($new->data as $module)
@include('partials.modules.item')
@endforeach
@else
@include('partials.modules.no_apps')
@endif
</div>
<div class="col-md-12">
@ -36,9 +44,13 @@
<h3>{{ trans('modules.top_free') }}</h3>
</div>
@foreach ($free->data as $module)
@include('partials.modules.item')
@endforeach
@if ($free->data)
@foreach ($free->data as $module)
@include('partials.modules.item')
@endforeach
@else
@include('partials.modules.no_apps')
@endif
</div>
</div>
@endsection