Back to Zulip

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

templates/zerver/slack_import.html

12.02.4 KB
Original Source

{% 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 %} {{ _("Import progress") }} {{ _("Checking import status…") }}

{% trans %} An unexpected error occurred during the import process. Please follow the instructions for the Zulip Cloud (via support) import process to complete your import. {% endtrans %}

{% else %} {{ csrf_input }}

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

{{ _('Slack bot user OAuth token') }} {%- if slack_access_token -%} {{ slack_access_token }} {%- endif -%} {% if slack_access_token_validation_error %}

{{ slack_access_token_validation_error }}

{% endif %}

{% if slack_access_token %} {{ _("Update") }} {% else %} {{ _("Submit") }} {% endif %} {% if slack_access_token %} {{ _('Upload your Slack export file') }} {% trans %} Follow these instructions to obtain your Slack message history export. {% endtrans %} {% include "zerver/slack_import_file_upload_instruction.html" %} {{ _('Start upload') }} {{ csrf_input }}

{{ _("Uploaded export file") }} {{ uploaded_import_file_name }}Upload a different file

{{ invalid_file_error_message }}

{{ _("Who will be allowed to see other users' email addresses?") }}
{% trans %} Users can change their email visibility configuration when they log in. {% endtrans %} {% for value, label in email_address_visibility_options %} {{ _(label) }} {% endfor %}

{{ _("Start import") }} {% 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 %} {% else %} {{ csrf_input }} {% trans %} Or create organization without importing data. {% endtrans %} {% endif %}

{% endblock %}