showing the mentions in the comment block
This commit is contained in:
parent
1de2b23b5d
commit
bffa72125a
@ -117,6 +117,17 @@ else
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if ($display_post->get_mentions ()->count () > 0)
|
||||
<p>
|
||||
<b>Mentions:</b>
|
||||
@foreach ($display_post->get_mentions ()->get () as $mention)
|
||||
<a href="{{ route ('users.show', [ 'user_name' => $mention->actor->local_actor_id ?? $mention->actor->preferredUsername ]) }}">
|
||||
<span class="mention">{{ $mention->actor->local_actor_id ?? '@' . $mention->actor->preferredUsername }}</span>
|
||||
</a>
|
||||
@endforeach
|
||||
</p>
|
||||
@endif
|
||||
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user