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-tiles' => 'r',
|
||||||
'modules-item' => 'c,r,u,d',
|
'modules-item' => 'c,r,u,d',
|
||||||
'modules-token' => 'c,u',
|
'modules-token' => 'c,u',
|
||||||
|
'modules-my' => 'r',
|
||||||
'install-updates' => 'r,u',
|
'install-updates' => 'r,u',
|
||||||
'notifications' => 'r,u',
|
'notifications' => 'r,u',
|
||||||
'reports-income-summary' => 'r',
|
'reports-income-summary' => 'r',
|
||||||
|
@ -16,9 +16,23 @@
|
|||||||
<h3>{{ trans('modules.my.purchased') }}</h3>
|
<h3>{{ trans('modules.my.purchased') }}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@foreach ($purchased as $module)
|
@if ($purchased)
|
||||||
@include('partials.modules.item')
|
@foreach ($purchased as $module)
|
||||||
@endforeach
|
@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>
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
@ -26,9 +40,23 @@
|
|||||||
<h3>{{ trans('modules.my.installed') }}</h3>
|
<h3>{{ trans('modules.my.installed') }}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@foreach ($modules as $module)
|
@if ($modules)
|
||||||
@include('partials.modules.item')
|
@foreach ($modules as $module)
|
||||||
@endforeach
|
@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>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
Loading…
x
Reference in New Issue
Block a user