2018-11-05 15:44:25 +00:00
|
|
|
@extends('layouts.app')
|
2018-08-06 12:30:51 +00:00
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div>
|
2018-11-05 15:44:25 +00:00
|
|
|
|
|
|
|
<section class="post">
|
|
|
|
<header class="post-header">
|
|
|
|
|
|
|
|
</header>
|
|
|
|
<div class="blog-meta">
|
|
|
|
created: <?= $dataset->created_at->toDayDateTimeString() ?>
|
|
|
|
</div>
|
|
|
|
<div class="post-description">
|
|
|
|
{{-- @foreach ($dataset->authors as $author)
|
|
|
|
<em>Author: {{ $author->full_name }}</em>
|
|
|
|
<br />
|
|
|
|
@endforeach --}}
|
|
|
|
@foreach ($dataset->titles as $title)
|
|
|
|
<em>Main Title: {{ $title->value }}</em>
|
|
|
|
<br />
|
|
|
|
@endforeach
|
|
|
|
@foreach ($dataset->abstracts as $abstract)
|
|
|
|
<em>Abstract: {{ $abstract->value }}</em>
|
|
|
|
<br />
|
|
|
|
@endforeach
|
|
|
|
@foreach ($authors as $author)
|
|
|
|
<em>Author: {{ $author->full_name }}</em>
|
|
|
|
<br />
|
|
|
|
@endforeach
|
|
|
|
@foreach ($contributors as $contributor)
|
2019-02-14 14:09:11 +00:00
|
|
|
<em>Contributor: {{ $contributor->full_name }}</em>
|
2018-11-05 15:44:25 +00:00
|
|
|
<br />
|
|
|
|
@endforeach
|
|
|
|
@foreach ($submitters as $submitter)
|
2019-02-14 14:09:11 +00:00
|
|
|
<em>Submitter: {{ $submitter->full_name }}</em>
|
2018-11-05 15:44:25 +00:00
|
|
|
<br />
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
<table id="items" class="pure-table pure-table-horizontal">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Path Name</th>
|
|
|
|
<th>Label</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
@foreach($dataset->files as $key => $file)
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
@if($file->exists() === true)
|
|
|
|
<a href="{{ route('settings.file.download', ['id' => $file->id]) }}"> {{ $file->path_name }} </a>
|
|
|
|
@else
|
|
|
|
<span class="alert">missing file: {{ $file->path_name }}</span>
|
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
<td> {{ $file->label }} </td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2018-08-06 12:30:51 +00:00
|
|
|
|
|
|
|
@stop
|