Bug 24083: (follow-up) Assign renewals remaining string to content

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2020-11-19 13:58:07 +00:00 committed by Jonathan Druart
parent 9f8ae9498d
commit 9dcb51a838
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ $(document).ready(function() {
content += msg;
if ( can_renew || can_force_renew ) {
content += "<span class='renewals'>(";
content + __("%s of %s renewals remaining").format(oObj.renewals_remaining, oObj.renewals_allowed);
content += __("%s of %s renewals remaining").format(oObj.renewals_remaining, oObj.renewals_allowed);
if (UnseenRenewals && oObj.unseen_allowed) {
content += __("%s of %s unseen renewals remaining").format(oObj.unseen_remaining, oObj.unseen_allowed);
}