* Fixed the display of the username in the search result

This commit is contained in:
Visman 2018-10-29 18:42:41 +07:00
parent 914b90517b
commit 81bd6ea514

View file

@ -57,6 +57,13 @@
<span class="f-post-number">#{!! $post->postNumber !!}</span>
</header>
<address class="f-post-user">
<ul class="f-user-info-first">
@if ($p->user->viewUsers && $post->user->link)
<li class="f-username"><a href="{!! $post->user->link !!}">{{ $post->user->username }}</a></li>
@else
<li class="f-username">{{ $post->user->username }}</li>
@endif
</ul>
<ul class="f-user-info">
@if ($p->user->viewUsers && $post->user->link)
<li class="f-username"><a href="{!! $post->user->link !!}">{{ $post->user->username }}</a></li>