From 11011e513f006cb6c8989907f978f58c7f4ed06a Mon Sep 17 00:00:00 2001 From: Tyr Mactire Date: Thu, 23 Mar 2023 02:42:35 +0000 Subject: [PATCH] longer lists (#188) Reviewed-on: https://git.ptzo.gdn/feditools/relay/pulls/188 Co-authored-by: Tyr Mactire Co-committed-by: Tyr Mactire --- internal/http/webapp/const.go | 2 +- web/template/admin_account.gohtml | 2 +- web/template/admin_block.gohtml | 4 ++-- web/template/admin_instance.gohtml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/http/webapp/const.go b/internal/http/webapp/const.go index 9c9b56e..e0c8636 100644 --- a/internal/http/webapp/const.go +++ b/internal/http/webapp/const.go @@ -1,7 +1,7 @@ package webapp const ( - defaultCount = 20 + defaultCount = 100 defaultActivityLogCount = 50 maxPagination = 5 diff --git a/web/template/admin_account.gohtml b/web/template/admin_account.gohtml index e2f985b..1f42eb3 100644 --- a/web/template/admin_account.gohtml +++ b/web/template/admin_account.gohtml @@ -12,7 +12,7 @@
- +
diff --git a/web/template/admin_block.gohtml b/web/template/admin_block.gohtml index a2402fe..97b0947 100644 --- a/web/template/admin_block.gohtml +++ b/web/template/admin_block.gohtml @@ -37,7 +37,7 @@ {{- if .Blocks }}
-
{{ $textAccounts }}
+
@@ -58,7 +58,7 @@ diff --git a/web/template/admin_instance.gohtml b/web/template/admin_instance.gohtml index 2b40f73..0dcc4c9 100644 --- a/web/template/admin_instance.gohtml +++ b/web/template/admin_instance.gohtml @@ -17,7 +17,7 @@ {{- if .Instances }}
-
{{ $textDomain }}{{ $block.ObfuscatedDomain }} {{ template "yesno" $block.BlockSubdomains }} -
+
@@ -36,7 +36,7 @@
{{ $textDomain }}{{ template "yesno" $instance.IsFollowing }} {{ template "yesno" ne $instance.BlockID 0 }} -