close #609 Fixed: Empty apps page category page broken
This commit is contained in:
parent
0777c6401b
commit
4197741606
@ -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
|
@ -21,17 +21,7 @@
|
||||
@include('partials.modules.item')
|
||||
@endforeach
|
||||
@else
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
<p class="col-md-12" style="margin-top: 15px">
|
||||
{{ trans('modules.no_apps') }}
|
||||
</p>
|
||||
<p class="col-md-12" style="margin-top: 20px">
|
||||
<small>{!! trans('modules.developer') !!}</small>
|
||||
</p>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
@include('partials.modules.no_apps')
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@ -45,17 +35,7 @@
|
||||
@include('partials.modules.item')
|
||||
@endforeach
|
||||
@else
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
<p class="col-md-12" style="margin-top: 15px">
|
||||
{{ trans('modules.no_apps') }}
|
||||
</p>
|
||||
<p class="col-md-12" style="margin-top: 20px">
|
||||
<small>{!! trans('modules.developer') !!}</small>
|
||||
</p>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
@include('partials.modules.no_apps')
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
@ -31,17 +31,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
@else
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
<p class="col-md-12" style="margin-top: 15px">
|
||||
{{ trans('modules.no_apps') }}
|
||||
</p>
|
||||
<p class="col-md-12" style="margin-top: 20px">
|
||||
<small>{!! trans('modules.developer') !!}</small>
|
||||
</p>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
@include('partials.modules.no_apps')
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
10
resources/views/partials/modules/no_apps.blade.php
Normal file
10
resources/views/partials/modules/no_apps.blade.php
Normal file
@ -0,0 +1,10 @@
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
<p class="col-md-12" style="margin-top: 15px">
|
||||
{{ trans('modules.no_apps') }}
|
||||
</p>
|
||||
<p class="col-md-12" style="margin-top: 20px">
|
||||
<small>{!! trans('modules.developer') !!}</small>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user