resources/views/loads/zip_view.blade.php
@extends('layout')
@section('title', __('loads.view_file') . ' ' . $document['name'])
@section('breadcrumb')
<nav>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/"><i class="fas fa-home"></i></a></li>
<li class="breadcrumb-item"><a href="/loads">{{ __('index.loads') }}</a></li>
@foreach ($down->category->getParents() as $parent)
<li class="breadcrumb-item"><a href="/loads/{{ $parent->id }}">{{ $parent->name }}</a></li>
@endforeach
<li class="breadcrumb-item"><a href="/downs/{{ $down->id }}">{{ $down->title }}</a></li>
<li class="breadcrumb-item"><a href="/downs/zip/{{ $file->id }}">{{ __('loads.view_archive') }}</a></li>
<li class="breadcrumb-item active">{{ __('loads.view_file') }}</li>
</ol>
</nav>
@stop
@section('content')
{{ __('loads.file_size') }}: {{ formatSize($document['size']) }}
<hr>
@if ($content)
<div class="mb-3">
<pre class="prettyprint linenums">{{ $content }}</pre>
</div>
@else
{{ showError(__('loads.empty_file')) }}
@endif
@stop