This commit is contained in:
@@ -214,6 +214,9 @@ Vue.prototype.$ay = {
|
||||
},
|
||||
dt: function(timestamp) {
|
||||
return locale.utcDateToShortDateAndTimeLocalized(timestamp);
|
||||
},
|
||||
sd: function(timestamp) {
|
||||
return locale.utcDateToShortDateLocalized(timestamp);
|
||||
}
|
||||
};
|
||||
new Vue({
|
||||
|
||||
@@ -26,16 +26,20 @@
|
||||
currentLicenseInfo.keySerial
|
||||
}}</span>
|
||||
</div>
|
||||
<div>
|
||||
<div v-if="currentLicenseInfo.licenseWillExpire">
|
||||
{{ $ay.t("LicenseExpiration") }}
|
||||
<span class="font-weight-bold ml-1">{{
|
||||
$ay.dt(currentLicenseInfo.licenseExpiration)
|
||||
$ay.sd(currentLicenseInfo.licenseExpiration)
|
||||
}}</span>
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
v-bind:class="{
|
||||
'red--text text-h6': currentLicenseInfo.maintenanceExpired
|
||||
}"
|
||||
>
|
||||
{{ $ay.t("SupportedUntil") }}
|
||||
<span class="font-weight-bold ml-1">{{
|
||||
$ay.dt(currentLicenseInfo.maintenanceExpiration)
|
||||
$ay.sd(currentLicenseInfo.maintenanceExpiration)
|
||||
}}</span>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user