landing: Add option to show custom navbar message.

This commit is contained in:
Vishnu KS
2020-05-21 20:06:14 +05:30
committed by Tim Abbott
parent 89539d6fb5
commit 8b3eb9a846
5 changed files with 30 additions and 0 deletions

View File

@@ -365,6 +365,10 @@ BILLING_ENABLED = False
FREE_TRIAL_DAYS = None
# Custom message (supports HTML) to be shown in the navbar of landing pages. Used mainly for
# making announcements.
LANDING_PAGE_NAVBAR_MESSAGE: Optional[str] = None
# Automatically catch-up soft deactivated users when running the
# `soft-deactivate-users` cron. Turn this off if the server has 10Ks of
# users, and you would like to save some disk space. Soft-deactivated

View File

@@ -156,6 +156,7 @@ SEARCH_PILLS_ENABLED = bool(os.getenv('SEARCH_PILLS_ENABLED', False))
BILLING_ENABLED = True
FREE_TRIAL_DAYS = None
LANDING_PAGE_NAVBAR_MESSAGE = None
# Test Custom TOS template rendering
TERMS_OF_SERVICE = 'corporate/terms.md'