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

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

@tabs(&[ ("/admin", i18n!(ctx.1, "Configuration"), false), ("/admin/instances", i18n!(ctx.1, "Instances"), true), ("/admin/users", i18n!(ctx.1, "Users"), false), ])
@for instance in instances {

@instance.name @instance.public_domain

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