diff --git a/resources/views/atom/user.blade.php b/resources/views/atom/user.blade.php index b0c2ee073..badb1f8de 100644 --- a/resources/views/atom/user.blade.php +++ b/resources/views/atom/user.blade.php @@ -1,46 +1,52 @@ -` won't get parsed as short tags */ -'' . PHP_EOL -?> +' . PHP_EOL ?> - {{$permalink}} - {{$profile['username']}} on Pixelfed - {{$profile['note']}} - @if($items && count($items)) -{{$items[0]['created_at']}} - @endif + {{$permalink}} + {{$profile['username']}} on {{config('pixelfed.domain.app', 'Pixelfed')}} + {{strip_tags($profile['note'])}} + @if($items && count($items)) + {{$items[0]['created_at']}} + @endif - - {{$profile['username']}} - {{$profile['url']}} - + + {{$profile['username']}} + {{$profile['url']}} + - - - @if($items && count($items)) - @foreach($items as $item) - - {{ $item['url'] }} - {{ $item['content_text'] ? $item['content_text'] : "No caption" }} - {{ $item['created_at'] }} - - {{$profile['username']}} - {{$profile['url']}} - - - -

{!! $item['content'] !!}

- ]]> -
- - @if($item['content'] && strlen($item['content'])) - {{ $item['content'] }} - @endif - -
- @endforeach - -@endif + + + @if($items && count($items)) + @foreach($items as $item) + + {{ $item['url'] }} + {{ $item['content_text'] ? $item['content_text'] : "No caption" }} + {{ $item['created_at'] }} + + {{$profile['username']}} + {{$profile['url']}} + + + + @foreach($item['media_attachments'] as $media) + {{ $media['description'] ?? '' }} + @endforeach + +

{!! $item['content'] !!}

+ ]]> +
+ + @if($item['content'] && strlen($item['content'])) + {{ $item['content'] }} + @endif + @foreach($item['media_attachments'] as $media) + + @endforeach +
+ @endforeach + @endif