This commit is contained in:
@@ -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({
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user