2020-01-21 07:02:03 +01:00
|
|
|
@use crate::templates::base;
|
|
|
|
@use crate::template_utils::*;
|
|
|
|
@use crate::routes::*;
|
2019-09-13 12:28:36 +02:00
|
|
|
|
|
|
|
@(ctx: BaseContext)
|
|
|
|
|
|
|
|
@:base(ctx, i18n!(ctx.1, "Moderation"), {}, {}, {
|
|
|
|
<h1>@i18n!(ctx.1, "Moderation")</h1>
|
|
|
|
|
|
|
|
@tabs(&[
|
|
|
|
(&uri!(instance::admin).to_string(), i18n!(ctx.1, "Home"), true),
|
|
|
|
(&uri!(instance::admin_instances: page = _).to_string(), i18n!(ctx.1, "Instances"), false),
|
|
|
|
(&uri!(instance::admin_users: page = _).to_string(), i18n!(ctx.1, "Users"), false),
|
|
|
|
])
|
|
|
|
})
|