From 7e36b9ea2898b9693ac2ee7962455b8db10c8f58 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 27 Jun 2026 04:29:52 +0200 Subject: feat: add Wikipedia button and reorganize cinema show page - Move View on IMDb / View on Wikipedia buttons above Hacker News section - Add View on Wikipedia button linking to wiki_article - Fix typos: hhn-comment -> hn-comment, -> --- resources/views/cinema_show.blade.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php index 4562a9c..d8ff794 100644 --- a/resources/views/cinema_show.blade.php +++ b/resources/views/cinema_show.blade.php @@ -138,6 +138,17 @@ @endif + @if ( ! is_null($movie->imdb_id) || ! is_null($movie->wiki_article) ) +
+ @if ( ! is_null($movie->wiki_article) ) + View on Wikipedia + @endif + @if ( ! is_null($movie->imdb_id) ) + View on IMDb + @endif +
+ @endif + @if ( ! empty($hnStories) )

Mentions on Hacker News

@@ -152,7 +163,7 @@ @endif - {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }} + | {{ \Carbon\Carbon::createFromTimestamp($story->time)->format('Y-m-d') }} @if ($story->score > 0) ยท {{ $story->score }} Upvotes @endif @@ -165,12 +176,6 @@
@endif - - @if ( ! is_null($movie->imdb_id) ) - - @endif -- cgit v1.2.3