@use template_utils::*; @use plume_models::users::User; @use routes::*; @(ctx: BaseContext, user: &User, follows: bool, is_remote: bool, instance_url: String)
@if user.is_admin { @i18n!(ctx.1, "Admin") } @if ctx.2.clone().map(|u| u.id == user.id).unwrap_or(false) { @i18n!(ctx.1, "It is you") @i18n!(ctx.1, "Edit your profile") }