mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 04:43:58 +00:00
imports: Explain how to return to import process.
This commit is contained in:
@@ -1081,7 +1081,14 @@ def realm_import_status(
|
|||||||
# process support writing updates to this for a better progress indicator.
|
# process support writing updates to this for a better progress indicator.
|
||||||
if preregistration_realm.data_import_metadata.get("is_import_work_queued"):
|
if preregistration_realm.data_import_metadata.get("is_import_work_queued"):
|
||||||
return json_success(
|
return json_success(
|
||||||
request, {"status": _("Converting Slack data… This may take a while.")}
|
request,
|
||||||
|
{
|
||||||
|
"status": _(
|
||||||
|
"Converting Slack data… This may take a while. If you "
|
||||||
|
"close this tab, you can return here from the “Complete registration” "
|
||||||
|
"link in your email."
|
||||||
|
)
|
||||||
|
},
|
||||||
)
|
)
|
||||||
elif preregistration_realm.data_import_metadata.get("invalid_file_error_message"):
|
elif preregistration_realm.data_import_metadata.get("invalid_file_error_message"):
|
||||||
# Redirect user the file upload page if we have an error message to display.
|
# Redirect user the file upload page if we have an error message to display.
|
||||||
|
|||||||
Reference in New Issue
Block a user