diff --git a/resources/views/status/embed.blade.php b/resources/views/status/embed.blade.php index 265189b86..c5369a1ae 100644 --- a/resources/views/status/embed.blade.php +++ b/resources/views/status/embed.blade.php @@ -1,177 +1,172 @@ - - - - - + + + + + - {{ $title ?? config('app.name', 'Pixelfed') }} + {{ $title ?? config('app.name', 'Pixelfed') }} - - - - - - - - - - - + + + + + + + + + + + -
- @php($item = $status) -
- - - @php($status = $item) - @switch($status->viewType()) - @case('photo') - @case('image') - @if($status->is_nsfw) -
- -

CW / NSFW / Hidden Media

-

(click to show)

-
-
- - -
- @else -
- -
- @endif - @break - @case('photo:album') - - @break - @case('video') - @if($status->is_nsfw) -
- -

CW / NSFW / Hidden Media

-

(click to show)

-
-
- -
-
- @else -
- -
- @endif - @break - @case('video-album') - @if($status->is_nsfw) -
- -

CW / NSFW / Hidden Media

-

(click to show)

-
-
- -
-
- @else -
- -
- @endif - @break - @endswitch - - @if($layout != 'compact') -
- -
- @if($showLikes) - - @endif -
-

- - {{$item->profile->username}} - - @if($showCaption) - {!! $item->rendered ?? e($item->caption) !!} - @endif -

-
-
- @endif - -
-
- - - - - +
+ @php($item = $status) +
+ + + @php($status = $item) + @switch($status->viewType()) + @case('photo') + @case('image') + @if($status->is_nsfw) +
+ +

CW / NSFW / Hidden Media

+

(click to show)

+
+
+ + +
+ @else +
+ +
+ @endif + @break + @case('photo:album') + + @break + @case('video') + @if($status->is_nsfw) +
+ +

CW / NSFW / Hidden Media

+

(click to show)

+
+
+ +
+
+ @else +
+ +
+ @endif + @break + @case('video-album') + @if($status->is_nsfw) +
+ +

CW / NSFW / Hidden Media

+

(click to show)

+
+
+ +
+
+ @else +
+ +
+ @endif + @break + @endswitch + + @if($layout != 'compact') +
+ +
+
+

+ + {{$item->profile->username}} + + @if($showCaption) + {!! $item->rendered ?? e($item->caption) !!} + @endif +

+
+
+ @endif + +
+
+ + + + + diff --git a/resources/views/status/show.blade.php b/resources/views/status/show.blade.php index 11362b81f..22b0590e0 100644 --- a/resources/views/status/show.blade.php +++ b/resources/views/status/show.blade.php @@ -25,11 +25,5 @@ @push('scripts') - + @endpush