1
0
Fork 0
forked from mirror/pixelfed

Fix #447 profile view's like and comment count display

This commit is contained in:
Stasiek Michalski 2018-09-07 03:56:06 +02:00 committed by GitHub
parent a173ae3022
commit df280632f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,11 +32,13 @@
<div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div> <div class="square-content" style="background-image: url('{{$status->thumb()}}')"></div>
<div class="info-overlay-text"> <div class="info-overlay-text">
<h5 class="text-white m-auto font-weight-bold"> <h5 class="text-white m-auto font-weight-bold">
<span class="pr-4"> <span>
<span class="far fa-heart fa-lg pr-1"></span> {{$status->likes_count}} <span class="far fa-heart fa-lg p-2 d-flex-inline"></span>
<span class="d-flex-inline">{{App\Util\Lexer\PrettyNumber::convert($status->likes_count)}}</span>
</span> </span>
<span> <span>
<span class="far fa-comment fa-lg pr-1"></span> {{$status->comments_count}} <span class="far fa-comment fa-lg p-2 d-flex-inline"></span>
<span class="d-flex-inline">{{App\Util\Lexer\PrettyNumber::convert($status->comments_count)}}</span>
</span> </span>
</h5> </h5>
</div> </div>