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:
parent
9f8ae9498d
commit
9dcb51a838
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue