From b3ab6e6d401a468b882f9c5d3c79520bc82ae03a Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Mon, 11 Mar 2024 01:53:12 -0400 Subject: [PATCH] add message on home page when relay is in manual approval mode --- relay/frontend/page/home.haml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/relay/frontend/page/home.haml b/relay/frontend/page/home.haml index 527f33a..9c3e063 100644 --- a/relay/frontend/page/home.haml +++ b/relay/frontend/page/home.haml @@ -14,10 +14,15 @@ You may subscribe to this relay with the address: %a(href="https://{{domain}}/actor") << https://{{domain}}/actor - -if config["whitelist-enabled"] + -if config["approval-required"] %p.section.message - Note: The whitelist is enabled on this instance. Ask the admin to add your instance - before joining. + Follow requests require approval. You will need to wait for an admin to accept or deny + your request. + + -elif config["whitelist-enabled"] + %p.section.message + The whitelist is enabled on this instance. Ask the admin to add your instance before + joining. .data-table.section %table