diff --git a/webapp/channels/src/components/common/svg_images_components/logo_dark_blue_svg.tsx b/webapp/channels/src/components/common/svg_images_components/logo_dark_blue_svg.tsx
index acf2b5d487..afdd04ac2c 100644
--- a/webapp/channels/src/components/common/svg_images_components/logo_dark_blue_svg.tsx
+++ b/webapp/channels/src/components/common/svg_images_components/logo_dark_blue_svg.tsx
@@ -2,14 +2,23 @@
// See LICENSE.txt for license information.
import React from 'react';
+import styled from 'styled-components';
type Props = {
width?: number;
height?: number;
+ className?: string;
}
+const Svg = styled.svg.attrs({
+ version: '1.1',
+ xmlns: 'http://www.w3.org/2000/svg',
+ xmlnsXlink: 'http://www.w3.org/1999/xlink',
+})``;
+
export default (props: Props) => (
-
+
);
diff --git a/webapp/channels/src/components/global_header/left_controls/product_menu/__snapshots__/product_menu.test.tsx.snap b/webapp/channels/src/components/global_header/left_controls/product_menu/__snapshots__/product_menu.test.tsx.snap
index 426056498a..dd81899c3c 100644
--- a/webapp/channels/src/components/global_header/left_controls/product_menu/__snapshots__/product_menu.test.tsx.snap
+++ b/webapp/channels/src/components/global_header/left_controls/product_menu/__snapshots__/product_menu.test.tsx.snap
@@ -54,45 +54,78 @@ exports[`components/global/product_switcher should have an active button state w
isMessaging={true}
onClick={[Function]}
/>
+
+
+
`;
exports[`components/global/product_switcher should match snapshot 1`] = `
-
-
-
+
+
+
+
+
+
+
+
+
`;
exports[`components/global/product_switcher should match snapshot with product switcher menu 1`] = `
@@ -149,6 +182,75 @@ exports[`components/global/product_switcher should match snapshot with product s
isMessaging={true}
onClick={[Function]}
/>
+
+
+
+
+
+
+`;
+
+exports[`components/global/product_switcher should match snapshot without license 1`] = `
+
-
- {formatMessage({id: 'navbar_dropdown.reviewTrialBenefits', defaultMessage: 'Review the features you get with Enterprise. '})}
-
-
-
- > : <>
+ {'FREE EDITION'}
+ {isE0 &&
- {formatMessage({id: 'navbar_dropdown.tryTrialNow', defaultMessage: 'Try Enterprise for free now!'})}
-
+ {formatMessage({
+ id: 'navbar_dropdown.versionTextE0',
+ defaultMessage: 'This is the free edition of Mattermost, ideal for evaluation and small teams.',
+ })}
+
}
+ {!isE0 &&
+
+ {formatMessage({
+ id: 'navbar_dropdown.versionTextTeamEdition',
+ defaultMessage: 'This is the free open source edition of Mattermost, ideal for evaluation and small teams.',
+ })}
+
}
+ {showTrialButton &&
- >
- }
+ {formatMessage({id: 'navbar_dropdown.startAnEnterpriseTrial', defaultMessage: 'Start an Enterprise trial'})}
+ }
);
};
diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json
index fe990bd570..32c697af57 100644
--- a/webapp/channels/src/i18n/en.json
+++ b/webapp/channels/src/i18n/en.json
@@ -4206,8 +4206,6 @@
"navbar_dropdown.invitePeople": "Invite People",
"navbar_dropdown.invitePeopleExtraText": "Add people to the team",
"navbar_dropdown.join": "Join Another Team",
- "navbar_dropdown.learnMore": "Learn More",
- "navbar_dropdown.learnMoreTrialBenefits": "Learn More",
"navbar_dropdown.leave": "Leave Team",
"navbar_dropdown.leave.icon": "Leave Team Icon",
"navbar_dropdown.logout": "Log Out",
@@ -4218,10 +4216,9 @@
"navbar_dropdown.nativeApps": "Download Apps",
"navbar_dropdown.profileSettings": "Profile",
"navbar_dropdown.report": "Report a Problem",
- "navbar_dropdown.reviewTrialBenefits": "Review the features you get with Enterprise. ",
+ "navbar_dropdown.startAnEnterpriseTrial": "Start an Enterprise trial",
"navbar_dropdown.switchTo": "Switch to ",
"navbar_dropdown.teamSettings": "Team Settings",
- "navbar_dropdown.tryTrialNow": "Try Enterprise for free now!",
"navbar_dropdown.userGroups": "User Groups",
"navbar_dropdown.userGroups.modal.messageAdminPostTrial": "User groups are a way to organize users and apply actions to all users within that group. Upgrade to the Professional plan to create unlimited user groups.",
"navbar_dropdown.userGroups.modal.messageAdminPreTrial": "Create unlimited user groups with one of our paid plans. Get the full experience of Enterprise when you start a free, {trialLength} day trial.",
@@ -4230,6 +4227,8 @@
"navbar_dropdown.userGroups.modal.titleAdminPreTrial": "Try unlimited user groups with a free trial",
"navbar_dropdown.userGroups.modal.titleEndUser": "User groups available in paid plans",
"navbar_dropdown.userGroups.tooltip.cloudFreeTrial": "During your trial you are able to create user groups. These user groups will be archived after your trial.",
+ "navbar_dropdown.versionTextE0": "This is the free edition of Mattermost, ideal for evaluation and small teams.",
+ "navbar_dropdown.versionTextTeamEdition": "This is the free open source edition of Mattermost, ideal for evaluation and small teams.",
"navbar_dropdown.viewMembers": "View Members",
"navbar.addGroups": "Add Groups",
"navbar.addMembers": "Add Members",