mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update Timeline component, change like logic
This commit is contained in:
parent
0a35f5d636
commit
7bcbf96bee
1 changed files with 7 additions and 2 deletions
|
@ -224,8 +224,13 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="likes font-weight-bold" v-if="expLc(status) == true">
|
<div v-if="status.liked_by.username && status.liked_by.username !== profile.username" class="likes mb-1">
|
||||||
<span class="like-count">{{status.favourites_count}}</span> {{status.favourites_count == 1 ? 'like' : 'likes'}}
|
<span class="like-count">Liked by
|
||||||
|
<a class="font-weight-bold text-dark" :href="'/'+status.liked_by.username">{{status.liked_by.username}}</a>
|
||||||
|
<span v-if="status.liked_by.others == true">
|
||||||
|
and <span class="font-weight-bold">others</span>
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="status.pf_type != 'text'" class="caption">
|
<div v-if="status.pf_type != 'text'" class="caption">
|
||||||
<p v-if="!status.sensitive" class="mb-2 read-more" style="overflow: hidden;">
|
<p v-if="!status.sensitive" class="mb-2 read-more" style="overflow: hidden;">
|
||||||
|
|
Loading…
Reference in a new issue