diff --git a/locales/en.json b/locales/en.json index 014452715..2ca6bda07 100644 --- a/locales/en.json +++ b/locales/en.json @@ -364,9 +364,13 @@ "domain_config_mail_out": "Outgoing emails", "domain_config_portal_logo": "Custom logo", "domain_config_portal_logo_help": "Accept .svg, .png and .jpeg. Prefer a monochrome .svg with fill: currentColor so that the logo adapts to the themes.", + "domain_config_portal_public_intro": "Custom public intro", + "domain_config_portal_public_intro_help": "You can use HTML, basic styles will be applied to generic elements.", "domain_config_portal_theme": "Default theme", "domain_config_portal_theme_help": "Users are allowed to choose another one in their settings.", "domain_config_portal_title": "Custom title", + "domain_config_portal_user_intro": "Custom user intro", + "domain_config_portal_user_intro_help": "You can use HTML, basic styles will be applied to generic elements.", "domain_config_show_other_domains_apps": "Show other domain's apps", "domain_config_xmpp": "Instant messaging (XMPP)", "domain_config_xmpp_help": "NB: some XMPP features will require that you update your DNS records and regenerate your Lets Encrypt certificate to be enabled", diff --git a/share/config_domain.toml b/share/config_domain.toml index a4b06a98c..69ced9054 100644 --- a/share/config_domain.toml +++ b/share/config_domain.toml @@ -27,6 +27,12 @@ name = "Features" choices = ["system", "light", "dark", "cupcake", "bumblebee", "emerald", "corporate", "synthwave", "retro", "cyberpunk", "valentine", "halloween", "garden", "forest", "aqua", "lofi", "pastel", "fantasy", "wireframe", "black", "luxury", "dracula", "cmyk", "autumn", "business", "acid", "lemonade", "night", "coffee", "winter"] default = "system" + [feature.portal.portal_user_intro] + type = "text" + + [feature.portal.portal_public_intro] + type = "text" + # FIXME link to GCU [feature.app] diff --git a/src/domain.py b/src/domain.py index 71f5864f5..f2fce2933 100644 --- a/src/domain.py +++ b/src/domain.py @@ -760,6 +760,8 @@ class DomainConfigPanel(ConfigPanel): "portal_title", "portal_logo", "portal_theme", + "portal_user_intro", + "portal_public_intro", ] if _get_parent_domain_of(self.entity, topest=True) is None and any(