From 0b3457c67206f22736f48994fbd5561a1fc8a826 Mon Sep 17 00:00:00 2001 From: Nick Misasi Date: Wed, 2 Aug 2023 08:53:43 -0400 Subject: [PATCH] Add '(Only visible to admins) to license overature banners (#24166) Co-authored-by: Mattermost Build --- .../announcement_bar/overage_users_banner/index.tsx | 4 ++-- .../overage_users_banner/overage_users_banner.test.tsx | 6 +++--- webapp/channels/src/i18n/en.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/channels/src/components/announcement_bar/overage_users_banner/index.tsx b/webapp/channels/src/components/announcement_bar/overage_users_banner/index.tsx index 4ad8d35acf..bd57fedf66 100644 --- a/webapp/channels/src/components/announcement_bar/overage_users_banner/index.tsx +++ b/webapp/channels/src/components/announcement_bar/overage_users_banner/index.tsx @@ -117,7 +117,7 @@ const OverageUsersBanner = () => { let message = ( { message = ( { it('should not render the banner because we are not on overage state', () => { renderComponent(); - expect(screen.queryByText('Your workspace user count has exceeded your paid license seat count by', {exact: false})).not.toBeInTheDocument(); + expect(screen.queryByText('(Only visible to admins) Your workspace user count has exceeded your paid license seat count by', {exact: false})).not.toBeInTheDocument(); expect(getLicenseSelfServeStatus).not.toBeCalled(); }); diff --git a/webapp/channels/src/i18n/en.json b/webapp/channels/src/i18n/en.json index 0c3de9ef52..884a4f3498 100644 --- a/webapp/channels/src/i18n/en.json +++ b/webapp/channels/src/i18n/en.json @@ -3861,8 +3861,8 @@ "licensingPage.overageUsersBanner.noticeDescription": "Notify your Customer Success Manager on your next true-up check. ", "licensingPage.overageUsersBanner.noticeTitle": "Your workspace user count has exceeded your paid license seat count by {seats, number} {seats, plural, one {seat} other {seats}}", "licensingPage.overageUsersBanner.selfHostedNoticeDescription": "Purchase additional seats to remain compliant.", - "licensingPage.overageUsersBanner.text": "Your workspace user count has exceeded your paid license seat count by {seats, number} {seats, plural, one {seat} other {seats}}. Purchase additional seats to remain compliant.", - "licensingPage.overageUsersBanner.textSelfHostedExpand": "Your workspace user count has exceeded your paid license seat count. Update your seat count to stay compliant.", + "licensingPage.overageUsersBanner.text": "(Only visible to admins) Your workspace user count has exceeded your paid license seat count by {seats, number} {seats, plural, one {seat} other {seats}}. Purchase additional seats to remain compliant.", + "licensingPage.overageUsersBanner.textSelfHostedExpand": "(Only visible to admins) Your workspace user count has exceeded your paid license seat count. Update your seat count to stay compliant.", "link_preview.image_preview": "Show Image preview", "link_preview.remove_link_preview": "Remove link preview", "list_modal.paginatorCount": "{startCount, number} - {endCount, number} of {total, number} total",