mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
navbar_alerts: Delay showing "Complete the organization profile" banner.
Currently, we are displaying the "Complete the organization profile" banner immediately after the organization was created. It's important to strongly encourage orgs to configure their profile, so we should delay showing the banner if the profile has not been configured after 15 days. Thus also allows the users to check out Zulip and see how it works before configuring the organization settings. Fixes: #24122.
This commit is contained in:
@@ -359,6 +359,7 @@ def fetch_initial_state_data(
|
||||
state["demo_organization_scheduled_deletion_date"] = datetime_to_timestamp(
|
||||
realm.demo_organization_scheduled_deletion_date
|
||||
)
|
||||
state["realm_date_created"] = datetime_to_timestamp(realm.date_created)
|
||||
|
||||
# Presence system parameters for client behavior.
|
||||
state["server_presence_ping_interval_seconds"] = settings.PRESENCE_PING_INTERVAL_SECS
|
||||
|
||||
Reference in New Issue
Block a user