no apps message
This commit is contained in:
parent
b2aab4f66c
commit
f73c0255c2
@ -11,6 +11,8 @@ return [
|
|||||||
'install' => 'Install',
|
'install' => 'Install',
|
||||||
'buy_now' => 'Buy Now',
|
'buy_now' => 'Buy Now',
|
||||||
'token_link' => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.',
|
'token_link' => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.',
|
||||||
|
'no_apps' => 'There are no apps in this category, yet.',
|
||||||
|
'developer' => 'Are you a developer? <a href="https://akaunting.com/blog/akaunting-app-store" target="_blank">Here</a> you can learn how to create an app and start selling today!',
|
||||||
|
|
||||||
'installed' => ':module installed',
|
'installed' => ':module installed',
|
||||||
'uninstalled' => ':module uninstalled',
|
'uninstalled' => ':module uninstalled',
|
||||||
|
@ -10,8 +10,22 @@
|
|||||||
<h3>{{ $title }}</h3>
|
<h3>{{ $title }}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if ($modules)
|
||||||
@foreach ($modules as $module)
|
@foreach ($modules as $module)
|
||||||
@include('partials.modules.item')
|
@include('partials.modules.item')
|
||||||
@endforeach
|
@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>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
Loading…
x
Reference in New Issue
Block a user