refs #364 added installation apps/my permission and index page edited
This commit is contained in:
parent
499728a218
commit
a34f30f71d
@ -56,6 +56,7 @@ class Roles extends Seeder
|
||||
'modules-tiles' => 'r',
|
||||
'modules-item' => 'c,r,u,d',
|
||||
'modules-token' => 'c,u',
|
||||
'modules-my' => 'r',
|
||||
'install-updates' => 'r,u',
|
||||
'notifications' => 'r,u',
|
||||
'reports-income-summary' => 'r',
|
||||
|
@ -16,9 +16,23 @@
|
||||
<h3>{{ trans('modules.my.purchased') }}</h3>
|
||||
</div>
|
||||
|
||||
@if ($purchased)
|
||||
@foreach ($purchased 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>
|
||||
|
||||
<div class="col-md-12">
|
||||
@ -26,9 +40,23 @@
|
||||
<h3>{{ trans('modules.my.installed') }}</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>
|
||||
</div>
|
||||
@endsection
|
Loading…
x
Reference in New Issue
Block a user