Negative days in trial license period (#3133)

* Negative days in trial license period

* Update apps/web/public/static/locales/en/common.json

Co-authored-by: gitstart <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-06-28 10:03:31 -06:00
1 parent 83dfafb8a1
commit 9b2ad3f350
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -23,7 +23,10 @@ const TrialBanner = () => {
<div
className="m-4 hidden rounded-md bg-yellow-200 p-4 text-center text-sm font-medium text-gray-600 lg:block"
data-testid="trial-banner">
<div className="mb-2 text-left">{t("trial_days_left", { days: trialDaysLeft })}</div>
<div className="mb-2 text-left">
{trialDaysLeft > 0 ? t("trial_days_left", { days: trialDaysLeft }) : t("trial_expired")}
</div>
<Button
href="/api/upgrade"
color="minimal"
@@ -902,6 +902,7 @@
"meeting_url_in_conformation_email": "Meeting url is in the confirmation email",
"url_start_with_https": "URL needs to start with http:// or https://",
"number_provided": "Phone number will be provided",
"trial_expired": "Your trial has expired",
"remove_app": "Remove App",
"yes_remove_app": "Yes, remove app",
"are_you_sure_you_want_to_remove_this_app": "Are you sure you want to remove this app?",