mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 15:15:12 +00:00
add "following" and "mutuals" relation badges
This commit is contained in:
parent
1b106d92e0
commit
523ad3d60c
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul v-if="$i && $i.id != user.id" class="info-badges">
|
<ul v-if="$i && $i.id != user.id" class="info-badges">
|
||||||
<li v-if="user.isFollowed">{{ i18n.ts.followsYou }}</li>
|
<li v-if="user.isFollowed && user.isFollowing">{{ i18n.ts.mutuals }}</li>
|
||||||
|
<li v-else-if="user.isFollowing">{{ i18n.ts.following }}</li>
|
||||||
|
<li v-else-if="user.isFollowed">{{ i18n.ts.followsYou }}</li>
|
||||||
<li v-if="user.isMuted">{{ i18n.ts.muted }}</li>
|
<li v-if="user.isMuted">{{ i18n.ts.muted }}</li>
|
||||||
<li v-if="user.isRenoteMuted">{{ i18n.ts.renoteMuted }}</li>
|
<li v-if="user.isRenoteMuted">{{ i18n.ts.renoteMuted }}</li>
|
||||||
<li v-if="user.isBlocking">{{ i18n.ts.blocked }}</li>
|
<li v-if="user.isBlocking">{{ i18n.ts.blocked }}</li>
|
||||||
|
|
Loading…
Reference in a new issue