@if ( ! is_null($movie->wiki_article) )
{{ $movie->primary_title }}
@else
{{ $movie->primary_title }}
@endif
@if ( ! is_null($movie->original_title) && $movie->original_title != $movie->primary_title )
({{ $movie->original_title }})
@endif
@if ( ! is_null($movie->start_year) )
{{ $movie->start_year }}
@endif
@if ( ! is_null($movie->runtime_minutes) )
@if ( ! is_null($movie->start_year) )
·
@endif
{{ $movie->runtime_minutes }} min
@endif
@if ( ! is_null($movie->title_type) )
@if ( ! is_null($movie->start_year) || ! is_null($movie->runtime_minutes) )
·
@endif
{{ $movie->title_type }}
@endif
@if ( ! is_null($movie->average_rating) )
⭐ {{ number_format($movie->average_rating, 1) }}
@if ( ! is_null($movie->num_votes) )
({{ number_format($movie->num_votes) }} votes)
@endif
@endif
@if ( ! empty($genres) )
@endif
@if ( ! empty($movie->synopsis) )
{{ strip_tags($movie->synopsis) }}
@endif
@if ( ! empty($directors) )
Directed by
@foreach( $directors as $person )
{{ $person->name }}
@endforeach
@endif
@if ( ! empty($actors) )
Starring
@foreach( $actors as $person )
{{ $person->name }}
@endforeach
@endif
@if ( ! empty($hnStories) )
Hacker News
@foreach($hnStories as $story)
-
{{ $story->title ?: 'HN Story' }}
| {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }}
@if ($story->score > 0)
| {{ $story->score }} Upvotes
@endif
@if ($story->descendants > 0)
| {{ $story->descendants }} Comments
@endif
@endforeach
@endif
@if ( ! is_null($movie->imdb_id) )
@endif