2018-05-29 12:55:16 +03:00
|
|
|
@extends('layouts.modules')
|
|
|
|
|
|
|
|
@section('title', trans_choice('general.modules', 2))
|
|
|
|
|
|
|
|
@section('new_button')
|
2020-01-21 18:13:29 +03:00
|
|
|
<span><a href="{{ route('apps.api-key.create') }}" class="btn btn-white btn-sm button-header-top"><span class="fa fa-key"></span> {{ trans('modules.api_key') }}</a></span>
|
|
|
|
<span><a href="{{ route('apps.my.index') }}" class="btn btn-white btn-sm button-header-top"><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')
|
|
|
|
|
2020-01-22 15:27:52 +03:00
|
|
|
<h2>{{ trans('modules.my.purchased') }}</h2>
|
2020-03-14 16:15:29 +03:00
|
|
|
|
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
|
|
|
|
2020-01-22 15:27:52 +03:00
|
|
|
<h2>{{ trans('modules.my.installed') }}</h2>
|
2020-03-14 16:15:29 +03:00
|
|
|
|
2019-11-16 10:21:14 +03:00
|
|
|
<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
|
2019-11-20 17:45:19 +03:00
|
|
|
|
|
|
|
@push('scripts_start')
|
|
|
|
<script src="{{ asset('public/js/modules/apps.js?v=' . version('short')) }}"></script>
|
|
|
|
@endpush
|