summaryrefslogtreecommitdiffstats
path: root/webapp/components/analytics
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-06 20:36:20 -0500
committerCorey Hulen <corey@hulen.com>2017-03-06 20:36:20 -0500
commitf8aaf312c119d92ed0d9949e4315a4a1b1035e5f (patch)
tree0ddc03db788a632ae157f69390544949b7428bb5 /webapp/components/analytics
parent3f070fe4b805e660cf796a5f851a0a1121a45fac (diff)
downloadchat-f8aaf312c119d92ed0d9949e4315a4a1b1035e5f.tar.gz
chat-f8aaf312c119d92ed0d9949e4315a4a1b1035e5f.tar.bz2
chat-f8aaf312c119d92ed0d9949e4315a4a1b1035e5f.zip
PLT-5703 Update license expiry timing and text (#5602)
* Update license expiry timing and text * Updating error bar (#5632)
Diffstat (limited to 'webapp/components/analytics')
-rw-r--r--webapp/components/analytics/system_analytics.jsx32
1 files changed, 0 insertions, 32 deletions
diff --git a/webapp/components/analytics/system_analytics.jsx b/webapp/components/analytics/system_analytics.jsx
index a3517899a..5af055924 100644
--- a/webapp/components/analytics/system_analytics.jsx
+++ b/webapp/components/analytics/system_analytics.jsx
@@ -1,7 +1,6 @@
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
-import Banner from 'components/admin_console/banner.jsx';
import LineChart from './line_chart.jsx';
import DoughnutChart from './doughnut_chart.jsx';
import StatisticCount from './statistic_count.jsx';
@@ -9,7 +8,6 @@ import StatisticCount from './statistic_count.jsx';
import AnalyticsStore from 'stores/analytics_store.jsx';
import * as Utils from 'utils/utils.jsx';
-import {isLicenseExpired, isLicenseExpiring, displayExpiryDate} from 'utils/license_utils.jsx';
import * as AsyncClient from 'utils/async_client.jsx';
import Constants from 'utils/constants.jsx';
const StatTypes = Constants.StatTypes;
@@ -287,36 +285,6 @@ class SystemAnalytics extends React.Component {
{postTypeGraph}
</div>
);
-
- if (isLicenseExpired()) {
- banner = (
- <Banner
- description={
- <FormattedHTMLMessage
- id='analytics.system.expiredBanner'
- defaultMessage='The Enterprise license expired on {date}. You have 15 days from this date to renew the license, please contact <a href="mailto:commercial@mattermost.com">commercial@mattermost.com</a>.'
- values={{
- date: displayExpiryDate()
- }}
- />
- }
- />
- );
- } else if (isLicenseExpiring()) {
- banner = (
- <Banner
- description={
- <FormattedHTMLMessage
- id='analytics.system.expiringBanner'
- defaultMessage='The Enterprise license is expiring on {date}. To renew your license, please contact <a href="mailto:commercial@mattermost.com">commercial@mattermost.com</a>.'
- values={{
- date: displayExpiryDate()
- }}
- />
- }
- />
- );
- }
}
const userCount = (