Show reply, repost and reaction counters to unauthenticated users
This commit is contained in:
parent
437406a578
commit
a4587427ac
2 changed files with 19 additions and 11 deletions
|
@ -65,7 +65,7 @@
|
|||
<span>{{ post.replies_count }}</span>
|
||||
</router-link>
|
||||
<a
|
||||
v-if="inThread && canReply()"
|
||||
v-else-if="inThread && canReply()"
|
||||
class="icon"
|
||||
title="Reply"
|
||||
@click="commentFormVisible = !commentFormVisible"
|
||||
|
@ -73,6 +73,10 @@
|
|||
<img :src="require('@/assets/forkawesome/comment-o.svg')">
|
||||
<span>{{ post.replies_count }}</span>
|
||||
</a>
|
||||
<span v-else class="icon">
|
||||
<img :src="require('@/assets/forkawesome/comment-o.svg')">
|
||||
<span>{{ post.replies_count }}</span>
|
||||
</span>
|
||||
<a
|
||||
v-if="canRepost()"
|
||||
class="icon"
|
||||
|
@ -83,6 +87,10 @@
|
|||
<img :src="require('@/assets/feather/repeat.svg')">
|
||||
<span>{{ post.reblogs_count }}</span>
|
||||
</a>
|
||||
<span v-else class="icon">
|
||||
<img :src="require('@/assets/feather/repeat.svg')">
|
||||
<span>{{ post.reblogs_count }}</span>
|
||||
</span>
|
||||
<a
|
||||
v-if="canLike()"
|
||||
class="icon"
|
||||
|
@ -93,6 +101,10 @@
|
|||
<img :src="require('@/assets/forkawesome/thumbs-o-up.svg')">
|
||||
<span>{{ post.favourites_count }}</span>
|
||||
</a>
|
||||
<span v-else class="icon">
|
||||
<img :src="require('@/assets/forkawesome/thumbs-o-up.svg')">
|
||||
<span>{{ post.favourites_count }}</span>
|
||||
</span>
|
||||
<a
|
||||
v-if="ipfsUrl"
|
||||
class="icon"
|
||||
|
|
|
@ -58,18 +58,14 @@
|
|||
vertical-align: middle;
|
||||
width: $icon-size;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.highlighted {
|
||||
color: $secondary-text-hover-color;
|
||||
a.icon:hover,
|
||||
.icon.highlighted {
|
||||
color: $secondary-text-hover-color;
|
||||
|
||||
img {
|
||||
filter: $secondary-text-hover-colorizer;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
img {
|
||||
filter: $secondary-text-hover-colorizer;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue