summaryrefslogtreecommitdiffstats
path: root/web/react/components/team_import_tab.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/team_import_tab.jsx')
-rw-r--r--web/react/components/team_import_tab.jsx14
1 files changed, 12 insertions, 2 deletions
diff --git a/web/react/components/team_import_tab.jsx b/web/react/components/team_import_tab.jsx
index c21701c0e..e3415d7f4 100644
--- a/web/react/components/team_import_tab.jsx
+++ b/web/react/components/team_import_tab.jsx
@@ -20,10 +20,20 @@ module.exports = React.createClass({
utils.importSlack(file, this.onImportSuccess, this.onImportFailure);
},
render: function() {
+ var uploadHelpText = (
+ <div>
+ <br/>
+ Slack does not allow you to export files, images, private groups or direct messages stored in Slack. Therefore, Slack import to Mattermost only supports importing of text messages in your Slack team's public channels.
+ <br/><br/>
+ The Slack import to Mattermost is in "Preview". Slack bot posts and channels with underscores do not yet import.
+ <br/><br/>
+ </div>
+ );
var uploadSection = (
<SettingUpload
title='Import from Slack'
submit={this.doImportSlack}
+ helpText={uploadHelpText}
fileTypesAccepted='.zip'/>
);
@@ -39,12 +49,12 @@ module.exports = React.createClass({
break;
case 'done':
messageSection = (
- <p className="confirm-import alert alert-success"><i className="fa fa-check"></i> Import sucessfull: <a href={this.state.link} download='MattermostImportSummery.txt'>View Summery</a></p>
+ <p className="confirm-import alert alert-success"><i className="fa fa-check"></i> Import successful: <a href={this.state.link} download='MattermostImportSummary.txt'>View Summary</a></p>
);
break;
case 'fail':
messageSection = (
- <p className="confirm-import alert alert-warning"><i className="fa fa-warning"></i> Import failure: <a href={this.state.link} download='MattermostImportSummery.txt'>View Summery</a></p>
+ <p className="confirm-import alert alert-warning"><i className="fa fa-warning"></i> Import failure: <a href={this.state.link} download='MattermostImportSummary.txt'>View Summary</a></p>
);
break;
}