@extends('layouts.app') @section('page-title')
{{ __($pageTitle) }} #{{ $project->id }} -
{{ ucwords($project->project_name) }}
@lang('app.menu.home')
{{ __($pageTitle) }}
@lang('modules.projects.files')
@endsection @push('head-script')
@endpush @section('content')
@include('admin.projects.show_project_menu')
@lang('modules.projects.files')
@lang('modules.projects.uploadFile')
@lang('modules.projects.addFileLink')
@if($upload)
{{ csrf_field() }} {!! Form::hidden('project_id', $project->id) !!}
@else
@lang('messages.storageLimitExceed', ['here' => '
Here
'])
@endif
{!! Form::open(['id'=>'file-external-link','class'=>'ajax-form','method'=>'POST']) !!} {!! Form::hidden('project_id', $project->id) !!}
@lang('app.name')
@lang('modules.projects.addFileLink')
@lang('app.submit')
{!! Form::close() !!}
@lang('app.list')
@lang('app.thumbnail')
@forelse($project->files as $file)
{{ $file->filename }}
@if(is_null($file->external_link))
@endif
{{ $file->created_at->diffForHumans() }}
@empty
@lang('messages.noFileUploaded')
@endforelse
@endsection @push('footer-script') @endpush