summaryrefslogtreecommitdiffstats
path: root/webapp/components/error_bar.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-04-17 15:08:56 -0400
committerChristopher Speller <crspeller@gmail.com>2017-04-17 15:08:56 -0400
commit92d8fa4aa8af170d0018baed94a8787d06297e44 (patch)
treedc5000a3584952c797c03bf4331282a5e1536848 /webapp/components/error_bar.jsx
parent742bab6429aeb1b581275da3c06af99fe293baab (diff)
parent30974533941e73f102505d07badf538cfdbbf3fc (diff)
downloadchat-92d8fa4aa8af170d0018baed94a8787d06297e44.tar.gz
chat-92d8fa4aa8af170d0018baed94a8787d06297e44.tar.bz2
chat-92d8fa4aa8af170d0018baed94a8787d06297e44.zip
Merge branch 'release-3.8'
Diffstat (limited to 'webapp/components/error_bar.jsx')
-rw-r--r--webapp/components/error_bar.jsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/webapp/components/error_bar.jsx b/webapp/components/error_bar.jsx
index 806af9eb3..d0ecd604e 100644
--- a/webapp/components/error_bar.jsx
+++ b/webapp/components/error_bar.jsx
@@ -49,12 +49,12 @@ export default class ErrorBar extends React.Component {
const errorIgnored = ErrorStore.getIgnoreNotification();
if (!errorIgnored) {
- if (global.mm_config.SendEmailNotifications === 'false') {
- ErrorStore.storeLastError({notification: true, message: Utils.localizeMessage('error_bar.preview_mode', 'Preview Mode: Email notifications have not been configured')});
- return;
- } else if (isSystemAdmin && global.mm_config.SiteURL === '') {
+ if (isSystemAdmin && global.mm_config.SiteURL === '') {
ErrorStore.storeLastError({notification: true, message: SITE_URL_ERROR});
return;
+ } else if (global.mm_config.SendEmailNotifications === 'false') {
+ ErrorStore.storeLastError({notification: true, message: Utils.localizeMessage('error_bar.preview_mode', 'Preview Mode: Email notifications have not been configured')});
+ return;
}
}
@@ -178,10 +178,10 @@ export default class ErrorBar extends React.Component {
let defaultMessage;
if (global.mm_config.EnableSignUpWithGitLab === 'true') {
id = 'error_bar.site_url_gitlab';
- defaultMessage = '{docsLink} is now a required setting. Please configure it in the System Console or in gitlab.rb if you\'re using GitLab Mattermost.';
+ defaultMessage = 'Please configure your {docsLink} in the System Console or in gitlab.rb if you\'re using GitLab Mattermost.';
} else {
id = 'error_bar.site_url';
- defaultMessage = '{docsLink} is now a required setting. Please configure it in {link}.';
+ defaultMessage = 'Please configure your {docsLink} in the System Console.';
}
message = (