@use plume_models::users::User; @use crate::templates::{base, users::header}; @use crate::template_utils::*; @use crate::routes::*; @(ctx: BaseContext, user: User, follows: bool, is_remote: bool, remote_url: String, followers: Vec, page: i32, n_pages: i32) @:base(ctx, i18n!(ctx.1, "{0}'s subscribers"; user.name()), {}, {}, { @:header(ctx, &user, follows, is_remote, remote_url) @tabs(&[ (&uri!(user::details: name = &user.fqn).to_string(), i18n!(ctx.1, "Articles"), false), (&uri!(user::followers: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscribers"), true), (&uri!(user::followed: name = &user.fqn, page = _).to_string(), i18n!(ctx.1, "Subscriptions"), false) ])
@for follower in followers {

@follower.name() @format!("@{}", &follower.fqn)

@Html(follower.summary_html)

}
@paginate(ctx.1, page, n_pages) })