Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

slack_import: Inform user how to come back to the status page.

Aman Agrawalb4f89f1adae3
diff --git a/templates/zerver/slack_import.html b/templates/zerver/slack_import.html
index 780c752dc14..d006c9c18b2 100644
--- a/templates/zerver/slack_import.html
+++ b/templates/zerver/slack_import.html
@@ -112,6 +112,15 @@
{% endif %}
</div>
{% if poll_for_import_completion %}
+ <div id="bottom-hint-slack-import-page">
+ <span class="bottom-text">
+ {% trans %}
+ Feel free to step away. You can always come back to this page
+ <br />
+ by clicking the <b>Complete registration</b> button in your email.
+ {% endtrans %}
+ </span>
+ </div>
{% else %}
<form method="post" class="hidden" id="cancel-slack-import-form" action="{{ url('import_realm_from_slack') }}">
{{ csrf_input }}
diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.css
index 0f580ed84d7..c057caeb3ed 100644
--- a/web/styles/portico/portico_signin.css
+++ b/web/styles/portico/portico_signin.css
@@ -1693,3 +1693,12 @@ button#register_auth_button_gitlab {
distractingly. */
min-height: 400px;
}
+
+#bottom-hint-slack-import-page {
+ display: flex;
+ justify-content: center;
+
+ .bottom-text {
+ text-align: left;
+ }
+}