diff --git a/src/Frontend/src/components/LicenseNotifications.vue b/src/Frontend/src/components/LicenseNotifications.vue index 61c4de84fb..01e9633239 100644 --- a/src/Frontend/src/components/LicenseNotifications.vue +++ b/src/Frontend/src/components/LicenseNotifications.vue @@ -6,10 +6,13 @@ import { useShowToast } from "@/composables/toast"; import { TYPE } from "vue-toastification"; import routeLinks from "@/router/routeLinks"; import { useRouter } from "vue-router"; +import { useConfiguration } from "@/composables/configuration"; const router = useRouter(); const { license, getOrUpdateLicenseStatus } = useLicense(); +const configuration = useConfiguration(); + function displayWarningMessage(licenseStatus: LicenseStatus) { const configurationRootLink = router.resolve(routeLinks.configuration.root).href; switch (licenseStatus) { @@ -19,7 +22,9 @@ function displayWarningMessage(licenseStatus: LicenseStatus) { break; } case "ValidWithExpiringTrial": { - const trialExpiring = `
Non-production development license expiring
Your non-production development license will expire soon. To continue using the Particular Service Platform you'll need to extend your license.
Extend your licenseView license details
`; + const trialExpiring = configuration.value?.mass_transit_connector + ? `
Early Access license expiring
Your Early Access license will expire soon. To continue using the Particular Service Platform you'll need to extend your license.
Extend your licenseView license details
` + : `
Non-production development license expiring
Your non-production development license will expire soon. To continue using the Particular Service Platform you'll need to extend your license.
Extend your licenseView license details
`; useShowToast(TYPE.WARNING, "", trialExpiring, true); break; } diff --git a/src/Frontend/src/components/PageFooter.vue b/src/Frontend/src/components/PageFooter.vue index 839e7f343e..947033c592 100644 --- a/src/Frontend/src/components/PageFooter.vue +++ b/src/Frontend/src/components/PageFooter.vue @@ -5,6 +5,7 @@ import { monitoringUrl, serviceControlUrl } from "../composables/serviceServiceC import { license, licenseStatus } from "../composables/serviceLicense"; import { LicenseStatus } from "@/resources/LicenseInfo"; import routeLinks from "@/router/routeLinks"; +import { useConfiguration } from "@/composables/configuration"; const isMonitoringEnabled = computed(() => { return monitoringUrl.value !== "!" && monitoringUrl.value !== "" && monitoringUrl.value !== null && monitoringUrl.value !== undefined; @@ -17,6 +18,8 @@ const scAddressTooltip = computed(() => { const scMonitoringAddressTooltip = computed(() => { return `Monitoring URL ${monitoringUrl.value}`; }); + +const configuration = useConfiguration(); -