refactor: adjustments for recent PAIA changes

This commit is contained in:
Rainer Killinger
2024-06-27 09:23:55 +00:00
parent dea9a82105
commit 68f3366a27
15 changed files with 88 additions and 24 deletions

View File

@@ -36,11 +36,11 @@
@if (!['expires'].includes(property)) {
{{ patron[property] }}
} @else {
@if (patron[property] === '9999-12-31') {
@if (isUnlimitedExpiry(patron['expires'])) {
{{ 'library.account.pages.profile.values.unlimited' | translate }}
} @else {
{{ 'library.account.pages.profile.values.expires' | translate }}: {{
patron[property] | amDateFormat: 'll'
patron['expires'] | amDateFormat: 'll'
}}
}
}