@extends ('layouts.admin') @section ('content')
Id | {{ $content->id }} |
---|---|
Folium id | {{ $resource?->id ?? '' }} |
Title | {{ $content->title }} |
Created (Content author) | {{ $content->created_at->format('Y-m-d H:i:s e') }} |
Updated (Content author) | {{ $content->updated_at->format('Y-m-d H:i:s e') }} |
Latest version | {{ $latestVersion ? 'Yes' : 'No' }} |
Language | @isset($content->language_iso_639_3) {{ $content->language_iso_639_3 }} ({{ Iso639p3::englishName($content->language_iso_639_3) }}) @endisset |
License | {{ $content->license }} |
Published | {{ $content->isPublished() ? 'Yes' : 'No' }} |
Listed | {{ $content->isListed() ? 'Yes' : 'No' }} |
Has lock | {{ $hasLock ? sprintf('Yes. Last updated %s, expires %s', $hasLock->format('H:i:s e'), $hasLock->addSeconds(\App\ContentLock::EXPIRES)->format('H:i:s e')) : 'No' }} |
Library | {{ sprintf('%s %d.%d.%d', $content->library->name, $content->library->major_version, $content->library->minor_version, $content->library->patch_version) }} |
Id | Date (Version) | Title | License | Language | Reason | Library |
---|---|---|---|---|---|---|
@if ($itemId !== $content->id && isset($history[$itemId]['content'])) {{ $history[$itemId]['content_id'] }} @else {{ $history[$itemId]['content_id'] }} @endif | {{ $history[$itemId]['versionDate']->format('Y-m-d H:i:s.u e') }} | {{ $history[$itemId]['content']['title'] ?? '' }} | {{ $history[$itemId]['content']['license'] ?? '' }} | {{ $history[$itemId]['content']['language'] ?? '' }} | {{ $history[$itemId]['version_purpose'] }} | @if(isset($history[$itemId]['content']) && isset($history[$itemId]['content']['library_id'])) {{ $history[$itemId]['content']['library'] }} @else {{ $history[$itemId]['content']['library'] ?? '' }} @endif |
Id | Date (Version) | Title | License | Language | Reason | Library |
---|---|---|---|---|---|---|
{{ $latestVersion ? 'This is the latest version' : 'No content found' }} | ||||||
@isset($history[$itemId]['content']) {{ $history[$itemId]['content_id'] }} @else {{ $history[$itemId]['external_reference'] }} @endisset | {{ $history[$itemId]['versionDate']->format('Y-m-d H:i:s.u e') }} | {{ $history[$itemId]['content']['title'] ?? '' }} | {{ $history[$itemId]['content']['license'] ?? '' }} | {{ $history[$itemId]['content']['language'] ?? '' }} | {{ $history[$itemId]['version_purpose'] }} | @if(isset($history[$itemId]['content']) && isset($history[$itemId]['content']['library_id'])) {{ $history[$itemId]['content']['library'] }} @else {{ $history[$itemId]['content']['library'] ?? '' }} @endif |