2018-05-29 12:55:16 +03:00
|
|
|
@extends('layouts.modules')
|
|
|
|
|
|
|
|
@section('title', trans_choice('general.modules', 2))
|
|
|
|
|
|
|
|
@section('new_button')
|
2019-11-16 10:21:14 +03:00
|
|
|
<span class="new-button"><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm"><span class="fa fa-key"></span> {{ trans('modules.api_key') }}</a></span>
|
|
|
|
<span class="new-button"><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm"><span class="fa fa-user"></span> {{ trans('modules.my_apps') }}</a></span>
|
2018-05-29 12:55:16 +03:00
|
|
|
@endsection
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
@include('partials.modules.bar')
|
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
<h2 class="text-primary">{{ trans('modules.my.purchased') }}</h2>
|
2018-05-29 12:55:16 +03:00
|
|
|
<div class="row">
|
2019-11-16 10:21:14 +03:00
|
|
|
@if ($purchased)
|
|
|
|
@foreach ($purchased as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
<div class="col-md-12">
|
2018-11-09 11:11:56 +03:00
|
|
|
@include('partials.modules.no_apps')
|
2018-05-29 12:55:16 +03:00
|
|
|
</div>
|
2019-11-16 10:21:14 +03:00
|
|
|
@endif
|
|
|
|
</div>
|
2018-05-29 12:55:16 +03:00
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
<h2 class="text-primary">{{ trans('modules.my.installed') }}</h2>
|
|
|
|
<div class="row">
|
|
|
|
@if ($modules)
|
|
|
|
@foreach ($modules as $module)
|
|
|
|
@include('partials.modules.item')
|
|
|
|
@endforeach
|
|
|
|
@else
|
|
|
|
<div class="col-md-12">
|
2018-11-09 11:11:56 +03:00
|
|
|
@include('partials.modules.no_apps')
|
2019-11-16 10:21:14 +03:00
|
|
|
</div>
|
|
|
|
@endif
|
2018-05-29 12:55:16 +03:00
|
|
|
</div>
|
2019-11-16 10:21:14 +03:00
|
|
|
@endsection
|