-
{title}
-
+
+
+ {#if open}
+
+
+
+ {/if}
diff --git a/src/routes/u/[name]/+page.svelte b/src/routes/u/[name]/+page.svelte
index f0695552..4af25c64 100644
--- a/src/routes/u/[name]/+page.svelte
+++ b/src/routes/u/[name]/+page.svelte
@@ -38,6 +38,7 @@
import { formatRelativeDate } from '$lib/components/util/RelativeDate.svelte'
export let data
+ export let inline: boolean = false
let blocking = false
@@ -144,127 +145,134 @@
{/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 !inline}
+
+
+
+ @
+
-
- {/if}
-
- {#if $profile?.user && $profile.jwt && data.person_view.person.id != $profile.user.local_user_view.person.id}
-
-
- {#if data.person_view.person.matrix_user_id}
+
+ {#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}
- {#if isAdmin($profile?.user)}
-
- {/if}
-
-
-
+
+ {/if}
+
+
+
+ {/if}