From 98c73bb6dfd5e40a1edd5f23a6ce458b3242b686 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Mon, 20 Mar 2023 01:00:17 +0900 Subject: [PATCH] Add search form to user list page --- templates/instance/users.rs.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/instance/users.rs.html b/templates/instance/users.rs.html index 8bcf48e7..5dc413b6 100644 --- a/templates/instance/users.rs.html +++ b/templates/instance/users.rs.html @@ -3,7 +3,7 @@ @use crate::template_utils::*; @use crate::routes::*; -@(ctx: BaseContext, users: Vec, page: i32, n_pages: i32) +@(ctx: BaseContext, users: Vec, user: Option<&str>, page: i32, n_pages: i32) @:base(ctx, i18n!(ctx.1, "Users"), {}, {}, {

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

@@ -15,6 +15,12 @@ (&uri!(instance::admin_email_blocklist: page=_).to_string(), i18n!(ctx.1, "Email blocklist"), false) ]) +
+ + + +
+