From c46664492db00d159f7a9e647f3d45f061162f24 Mon Sep 17 00:00:00 2001 From: Paul Couture Date: Thu, 21 Dec 2023 15:17:18 -0600 Subject: [PATCH] fix: removing broken links to unpublished episodes --- site/resources/views/artworks/card.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/resources/views/artworks/card.blade.php b/site/resources/views/artworks/card.blade.php index 8473674..57116e5 100644 --- a/site/resources/views/artworks/card.blade.php +++ b/site/resources/views/artworks/card.blade.php @@ -56,9 +56,9 @@ class="avatar" data-bs-toggle="tooltip" {{ $thisPodcast->name }} @endif
- @if ($thisPodcast->published) - Episode {{ number_format($thisEpisode->episode_number + 0) }}
- {{ $thisEpisode->episode_date->format('D, M j') }}{{ $thisEpisode->episode_date->format('S') }}{{ $thisEpisode->episode_date->format(', Y') }}
+ @if ($thisEpisode->published) + Episode {{ number_format($thisEpisode->episode_number + 0) }}
+ {{ $thisEpisode->episode_date->format('D, M j') }}{{ $thisEpisode->episode_date->format('S') }}{{ $thisEpisode->episode_date->format(', Y') }}
@else Episode {{ number_format($thisEpisode->episode_number + 0) }}
{{ $thisEpisode->episode_date->format('D, M j') }}{{ $thisEpisode->episode_date->format('S') }}{{ $thisEpisode->episode_date->format(', Y') }}