2018-04-03 07:37:41 +08:00
|
|
|
@extends('app')
|
2018-05-19 03:18:12 +08:00
|
|
|
@section('title', trans_choice('common.download', 2))
|
2018-04-03 07:37:41 +08:00
|
|
|
|
|
|
|
@section('content')
|
|
|
|
@include('flash::message')
|
|
|
|
<div class="row">
|
|
|
|
<div class="row-sm-12">
|
2018-05-19 03:18:12 +08:00
|
|
|
<h2>{{ trans_choice('common.download', 2) }}</h2>
|
2018-04-03 07:37:41 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-04-09 09:51:27 +08:00
|
|
|
@if(!$grouped_files || \count($grouped_files) === 0)
|
2018-05-18 06:03:30 +08:00
|
|
|
<div class="jumbotron text-center">@lang('frontend.downloads.nodownloads')</div>
|
2018-04-09 09:51:27 +08:00
|
|
|
@else
|
|
|
|
@foreach($grouped_files as $group => $files)
|
|
|
|
<div class="row" style="margin-bottom: 40px;">
|
|
|
|
<div class="col-12">
|
|
|
|
<h4 class="description">{{ $group }}</h4>
|
|
|
|
</div>
|
2018-04-03 07:37:41 +08:00
|
|
|
|
2018-04-09 09:51:27 +08:00
|
|
|
<div class="col-12">
|
|
|
|
@include('downloads.table', ['files' => $files])
|
|
|
|
</div>
|
2018-04-03 07:37:41 +08:00
|
|
|
</div>
|
2018-04-09 09:51:27 +08:00
|
|
|
@endforeach
|
|
|
|
@endif
|
2018-04-03 07:37:41 +08:00
|
|
|
@endsection
|
|
|
|
|