Scheduling infrastructure for absolutely everyone.
Negative days in trial license period (#3133)
GitStart9b2ad3f3506b
diff --git a/apps/web/ee/components/TrialBanner.tsx b/apps/web/ee/components/TrialBanner.tsxindex 1ec16ceb99d..d5b4172a5df 100644--- a/apps/web/ee/components/TrialBanner.tsx+++ b/apps/web/ee/components/TrialBanner.tsx@@ -23,7 +23,10 @@ const TrialBanner = () => {<divclassName="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>+<Buttonhref="/api/upgrade"color="minimal"diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex aeac7ab18df..36093b0011b 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -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?",