View Promotion
Promotion Details
Promotion Content @if ($promotion->mode == 'image') Image Mode @else Video Mode @endif {{ $promotion->is_active ? 'Active' : 'Inactive' }}
@if ($promotion->title)
@endif
@if ($promotion->description)
@endif
Title:
{!! nl2br(e($promotion->title)) !!}
Description:
{!! nl2br(e($promotion->description)) !!}
Created: {{ $promotion->created_at->format('M d, Y g:i A') }}
@if ($promotion->updated_at != $promotion->created_at)Updated: {{ $promotion->updated_at->format('M d, Y g:i A') }}
@endif
@if ($promotion->mode == 'image')
Images: {{ $promotion->images->count() }} image(s)
@elseif($promotion->mode == 'video')Video Source: YouTube
@endifYouTube Video
@if ($promotion->youtube_url && $promotion->youtube_video_id)
@else
@endif
YouTube URL:
Open on YouTubeNo valid YouTube URL found
Images ({{ $promotion->images->count() }})
@if ($promotion->images->count() > 0)
@endif
@foreach ($promotion->images->sortBy('sort_order') as $image)
@endforeach
@else
@if ($image->imageExists())
@else
@endif
Image not found
{{ $image->original_filename ?: $image->image_path }}
{{ $image->human_file_size }} • {{ $image->resolution }}
No images found
@if ($promotion->thumbnail && $promotion->thumbnailExists())
@endif
Thumbnail Preview
Basic Information
| Title: | {{ $promotion->title }} |
| Media Type: | {{ ucfirst($promotion->mode) }} |
| Status: | @if ($promotion->is_active) Active @else Inactive @endif |
| Created: | {{ $promotion->created_at->format('M d, Y \a\t H:i') }} |
| Last Updated: | {{ $promotion->updated_at->format('M d, Y \a\t H:i') }} |
Actions
Technical Details
| ID: |
#{{ $promotion->id }}
|
| Total Images: | {{ $promotion->images->count() }} files |
| Video ID: |
{{ $promotion->youtube_video_id }}
|