This commit is contained in:
2020-06-18 13:35:21 +00:00
parent 9b916df137
commit c0f3e8d317
2 changed files with 11 additions and 4 deletions

View File

@@ -214,6 +214,9 @@ Vue.prototype.$ay = {
}, },
dt: function(timestamp) { dt: function(timestamp) {
return locale.utcDateToShortDateAndTimeLocalized(timestamp); return locale.utcDateToShortDateAndTimeLocalized(timestamp);
},
sd: function(timestamp) {
return locale.utcDateToShortDateLocalized(timestamp);
} }
}; };
new Vue({ new Vue({

View File

@@ -26,16 +26,20 @@
currentLicenseInfo.keySerial currentLicenseInfo.keySerial
}}</span> }}</span>
</div> </div>
<div> <div v-if="currentLicenseInfo.licenseWillExpire">
{{ $ay.t("LicenseExpiration") }} {{ $ay.t("LicenseExpiration") }}
<span class="font-weight-bold ml-1">{{ <span class="font-weight-bold ml-1">{{
$ay.dt(currentLicenseInfo.licenseExpiration) $ay.sd(currentLicenseInfo.licenseExpiration)
}}</span> }}</span>
</div> </div>
<div> <div
v-bind:class="{
'red--text text-h6': currentLicenseInfo.maintenanceExpired
}"
>
{{ $ay.t("SupportedUntil") }} {{ $ay.t("SupportedUntil") }}
<span class="font-weight-bold ml-1">{{ <span class="font-weight-bold ml-1">{{
$ay.dt(currentLicenseInfo.maintenanceExpiration) $ay.sd(currentLicenseInfo.maintenanceExpiration)
}}</span> }}</span>
</div> </div>