Text to go in the release notes:
|
This enhancement adds more <span>s to the user summary page in the OPAC so that information about the renewal status can be targeted with CSS or JS. It adds each <span> with a "usr-msg" class for general styling and a specific class for each renewal message, for example:
<span class="usr-msg no-renew-hold">Not renewable <span class="renewals">(on hold)</span></span>
These classes are added:
- no-renew-hold: Not renewable (on hold)
- no-renew-too-many: Not renewable (too many renewals)
- no-renew-unseen: Item must be renewed at the library
- no-renew-overdue: Not allowed (overdue)
- no-renew-too-late: No longer renewable
- auto-renew-fines: Automatic renewal failed, you have unpaid fines
- auto-renew-expired: Automatic renewal failed, your account is expired
- no-renewal-before: No renewal before [date]
- automatic-renewal: Automatic renewal
|