+ @
+
-
-
- {data.person_view.person.display_name || data.person_view.person.name}
-
-
- @
-
-
-
-
- {#if data.person_view.person.bio}
-
- {/if}
-
-
-
-
-
- {#if (data.moderates ?? []).length > 0}
-
+
+
+ {$t('routes.profile.moderates')}
+
+ ({
+ id: m.community.id,
+ name: m.community.title,
+ url: communityLink(m.community),
+ avatar: m.community.icon,
+ instance: new URL(m.community.actor_id).hostname,
+ }))}
+ />
+
+ {/if}
+ {#if $profile?.user && $profile.jwt && data.person_view.person.id != $profile.user.local_user_view.person.id}
+
+
-
+ {/if}
+
+
+
+
+ blockUser(data.person_view.person.id)}
+ >
+
+ {isBlocked($profile.user, data.person_view.person.id)
+ ? 'Unblock'
+ : 'Block'}
+
+
+