no apps message

This commit is contained in:
denisdulici 2017-11-08 20:45:39 +03:00
parent b2aab4f66c
commit f73c0255c2
2 changed files with 19 additions and 3 deletions

View File

@ -11,6 +11,8 @@ return [
'install' => 'Install',
'buy_now' => 'Buy Now',
'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',
'uninstalled' => ':module uninstalled',

View File

@ -10,8 +10,22 @@
<h3>{{ $title }}</h3>
</div>
@if ($modules)
@foreach ($modules as $module)
@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>
@endif
</div>
@endsection