@use plume_models::instance::Instance; @use templates::base; @use template_utils::*; @use routes::*; @(ctx: BaseContext, instance: Instance, instances: Vec, page: i32, n_pages: i32) @:base(ctx, i18n!(ctx.1, "Administration of {0}"; instance.name.clone()), {}, {}, {

@i18n!(ctx.1, "Instances")

@tabs(&[ (&uri!(instance::admin).to_string(), i18n!(ctx.1, "Configuration"), false), (&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), true), (&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false), (&uri!(instance::admin_email_blocklist:page=_).to_string(), i18n!(ctx.1, "Email blocklist"), false), ])
@for instance in instances {

@instance.name @instance.public_domain

@if !instance.local {
}
}
@paginate(ctx.1, page, n_pages) })