Add indicator if user blocks you

This commit is contained in:
eris 2023-01-26 20:49:07 +00:00 committed by Sam Therapy
parent c263dff6c1
commit 8a8d3582c6
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
3 changed files with 8 additions and 1 deletions

View File

@ -262,7 +262,7 @@
line-height: 22px;
flex-wrap: wrap;
.following {
.following, .requested_by, .blocking {
flex: 1 0 auto;
margin: 0;
margin-bottom: 0.25em;

View File

@ -145,6 +145,12 @@
</div>
</div>
<div class="user-meta">
<div
v-if="relationship.blocked_by && loggedIn && isOtherUser"
class="blocking"
>
{{ $t('user_card.blocks_you') }}
</div>
<div
v-if="relationship.followed_by && loggedIn && isOtherUser"
class="following"

View File

@ -908,6 +908,7 @@
"approve": "Approve",
"block": "Block",
"blocked": "Blocked!",
"blocks_you": "Blocks you!",
"deactivated": "Deactivated",
"deny": "Deny",
"edit_profile": "Edit profile",