{% extends "zerver/portico_signup.html" %} {% set entrypoint = "slack-import" %} {% block title %} {{ _("Import from Slack") }} | Zulip {% endblock %} {% block portico_content %}

{{ _("Import from Slack") }}

{% if poll_for_import_completion %} {% if import_poll_error_message %}

{{ import_poll_error_message }}

{% endif %}
{{ _("Checking import status…") }}
{% else %} {% if slack_import_error %}

{{ slack_import_error }}

{% else %}
{{ csrf_input }}
{% trans %} Follow these instructions to obtain a Bot User OAuth Token. {% endtrans %}
{% if slack_access_token_validation_error %}

{{ slack_access_token_validation_error }}

{% endif %}
{% if slack_access_token %}
{% trans %} Follow these instructions to obtain your Slack message history export. {% endtrans %} {% include "zerver/slack_import_file_upload_instruction.html" %}
{{ csrf_input }}
{{ uploaded_import_file_name }}  Upload a different file

{{ invalid_file_error_message }}

{% endif %} {% endif %} {% endif %}
{% if poll_for_import_completion %}
{% trans %} Feel free to step away. You can always come back to this page
by clicking the Complete registration button in your email. {% endtrans %}
{% elif not slack_import_error %}
{% trans %} Or create organization without importing data. {% endtrans %}
{% endif %}
{% endblock %}