From f4898db9ada8c59e266cac6ef9952b9b2373b840 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 12 Jun 2024 01:23:40 -0600 Subject: [PATCH] Update status embed, add support for album carousels --- resources/views/status/embed.blade.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/resources/views/status/embed.blade.php b/resources/views/status/embed.blade.php index 02ab2de90..7446ee528 100644 --- a/resources/views/status/embed.blade.php +++ b/resources/views/status/embed.blade.php @@ -15,7 +15,8 @@ - +
@@ -26,11 +27,19 @@ {{$status['account']['username']}}
+ @if($status['pf_type'] === 'photo')
+ @elseif($status['pf_type'] === 'photo:album') + + @foreach($status['media_attachments'] as $media) + + @endforeach + + @endif @if($layout != 'compact')
@@ -64,9 +73,10 @@
-