diff --git a/resources/views/status/template.blade.php b/resources/views/status/template.blade.php index 3fd21597e..f9f66f23f 100644 --- a/resources/views/status/template.blade.php +++ b/resources/views/status/template.blade.php @@ -1,4 +1,4 @@ -
+
@@ -12,7 +12,7 @@
- @if($item->is_nsfw) -
- -

Content Warning: This may contain potentially sensitive content.

-

(click to show)

-
- - - -
- @else - - @if($loop->index < 2) - - @else - - @endif - - @endif + @php($status = $item) + @switch($status->viewType()) + @case('image') + @include('status.timeline.photo') + @break + @case('album') + @include('status.timeline.album') + @break + @case('video') + @include('status.timeline.video') + @break + @case('video-album') + @include('status.timeline.video-album') + @break + @endswitch