View | Details | Raw Unified | Return to bug 38377
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-2 / +2 lines)
Lines 363-371 function LoadIssuesTable() { Link Here
363
                    content += msg;
363
                    content += msg;
364
                    if ( can_renew || can_force_renew ) {
364
                    if ( can_renew || can_force_renew ) {
365
                        content += "<span class='renewals-info'>(";
365
                        content += "<span class='renewals-info'>(";
366
                        content += __("%s of %s renewals remaining").format(oObj.renewals_remaining, oObj.renewals_allowed);
366
                        content += __x("{renewals_left} of {renewals_allowed} renewals remaining", {renewals_left: oObj.renewals_remaining, renewals_allowed: oObj.renewals_allowed});
367
                        if (UnseenRenewals && oObj.unseen_allowed) {
367
                        if (UnseenRenewals && oObj.unseen_allowed) {
368
                            content += __(" and %s of %s unseen renewals remaining").format(oObj.unseen_remaining, oObj.unseen_allowed);
368
                            content += __x(" and {renewals_left} of {renewals_allowed} unseen renewals remaining", {renewals_left: oObj.unseen_remaining, renewals_allowed: oObj.unseen_allowed});
369
                        }
369
                        }
370
                        content += ")</span>";
370
                        content += ")</span>";
371
                    }
371
                    }
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-6 / +6 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE Branches %]
5
[% USE Branches %]
6
[% USE I18N %]
6
[% USE ItemTypes %]
7
[% USE ItemTypes %]
7
[% USE Price %]
8
[% USE Price %]
8
[% USE AuthorisedValues %]
9
[% USE AuthorisedValues %]
Lines 466-472 Link Here
466
                                                                <span class="renewalfee badge text-bg-warning">[% ISSUE.itemtype_object.rentalcharge_hourly | $Price %] per hour</span>
467
                                                                <span class="renewalfee badge text-bg-warning">[% ISSUE.itemtype_object.rentalcharge_hourly | $Price %] per hour</span>
467
                                                            [% END %]
468
                                                            [% END %]
468
                                                            <span class="renewals">(
469
                                                            <span class="renewals">(
469
                                                                [% ISSUE.renewsleft | html %] of [% ISSUE.renewsallowed | html %] renewals remaining
470
                                                                [% I18N.tx("{renewals_left} of {renewals_allowed} renewals remaining", { renewals_left = ISSUE.renewsleft, renewals_allowed = ISSUE.renewsallowed }) %]
470
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
471
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
471
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
472
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
472
                                                                [% END %]
473
                                                                [% END %]
Lines 484-490 Link Here
484
                                                        [% ELSIF ISSUE.auto_too_much_oweing %]
485
                                                        [% ELSIF ISSUE.auto_too_much_oweing %]
485
                                                            <span class="usr-msg auto-renew-fines">Automatic renewal failed, you have unpaid fines.</span>
486
                                                            <span class="usr-msg auto-renew-fines">Automatic renewal failed, you have unpaid fines.</span>
486
                                                            <span class="renewals">(
487
                                                            <span class="renewals">(
487
                                                                [% ISSUE.renewsleft | html %] of [% ISSUE.renewsallowed | html %] renewals remaining
488
                                                                [% I18N.tx("{renewals_left} of {renewals_allowed} renewals remaining", { renewals_left = ISSUE.renewsleft, renewals_allowed = ISSUE.renewsallowed }) %]
488
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
489
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
489
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
490
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
490
                                                                [% END %]
491
                                                                [% END %]
Lines 492-498 Link Here
492
                                                        [% ELSIF ISSUE.auto_account_expired %]
493
                                                        [% ELSIF ISSUE.auto_account_expired %]
493
                                                            <span class="usr-msg auto-renew-expired">Automatic renewal failed, your account is expired.</span>
494
                                                            <span class="usr-msg auto-renew-expired">Automatic renewal failed, your account is expired.</span>
494
                                                            <span class="renewals">(
495
                                                            <span class="renewals">(
495
                                                                [% ISSUE.renewsleft | html %] of [% ISSUE.renewsallowed | html %] renewals remaining
496
                                                                [% I18N.tx("{renewals_left} of {renewals_allowed} renewals remaining", { renewals_left = ISSUE.renewsleft, renewals_allowed = ISSUE.renewsallowed }) %]
496
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
497
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
497
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
498
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
498
                                                                [% END %]
499
                                                                [% END %]
Lines 500-506 Link Here
500
                                                        [% ELSIF ( ISSUE.too_soon ) %]
501
                                                        [% ELSIF ( ISSUE.too_soon ) %]
501
                                                            <span class="usr-msg no-renewal-before">No renewal before [% ISSUE.soonestrenewdate | $KohaDates  as_due_date => 1 %]</span>
502
                                                            <span class="usr-msg no-renewal-before">No renewal before [% ISSUE.soonestrenewdate | $KohaDates  as_due_date => 1 %]</span>
502
                                                            <span class="renewals">(
503
                                                            <span class="renewals">(
503
                                                                [% ISSUE.renewsleft | html %] of [% ISSUE.renewsallowed | html %] renewals remaining
504
                                                                [% I18N.tx("{renewals_left} of {renewals_allowed} renewals remaining", { renewals_left = ISSUE.renewsleft, renewals_allowed = ISSUE.renewsallowed }) %]
504
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
505
                                                                [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
505
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
506
                                                                    / [% ISSUE.unseenleft | html %] of [% ISSUE.unseenallowed | html %] renewals left before the item must be seen by the library
506
                                                                [% END %]
507
                                                                [% END %]
Lines 806-812 Link Here
806
                                                                    <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=[% OVERDUE.itemnumber | uri %]&amp;bornum=[% OVERDUE.borrowernumber | uri %]">Renew</a>
807
                                                                    <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=[% OVERDUE.itemnumber | uri %]&amp;bornum=[% OVERDUE.borrowernumber | uri %]">Renew</a>
807
                                                                [% END %]
808
                                                                [% END %]
808
                                                                    <span class="renewals">(
809
                                                                    <span class="renewals">(
809
                                                                        [% OVERDUE.renewsleft | html %] of [% OVERDUE.renewsallowed | html %] renewals remaining
810
                                                                        [% I18N.tx("{renewals_left} of {renewals_allowed} renewals remaining", { renewals_left = OVERDUE.renewsleft, renewals_allowed = OVERDUE.renewsallowed }) %]
810
                                                                        [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
811
                                                                        [% IF Koha.Preference('UnseenRenewals') && ISSUE.unseenallowed %]
811
                                                                            / [% OVERDUE.unseenleft | html %] of [% OVERDUE.unseenallowed | html %] renewals left before the item must be seen by the library
812
                                                                            / [% OVERDUE.unseenleft | html %] of [% OVERDUE.unseenallowed | html %] renewals left before the item must be seen by the library
812
                                                                        [% END %]
813
                                                                        [% END %]
813
- 

Return to bug 38377