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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (+1 lines)
Lines 17-22 Link Here
17
    var NOT_RENEWABLE = _("Not renewable");
17
    var NOT_RENEWABLE = _("Not renewable");
18
    var NOT_RENEWABLE_TOO_SOON = _("No renewal before %s");
18
    var NOT_RENEWABLE_TOO_SOON = _("No renewal before %s");
19
    var NOT_RENEWABLE_AUTO_TOO_SOON = _("Scheduled for automatic renewal");
19
    var NOT_RENEWABLE_AUTO_TOO_SOON = _("Scheduled for automatic renewal");
20
    var NOT_RENEWABLE_AUTO_TOO_LATE = _("Scheduled for automatic renewal");
20
    var NOT_RENEWABLE_AUTO_RENEW = _("Scheduled for automatic renewal");
21
    var NOT_RENEWABLE_AUTO_RENEW = _("Scheduled for automatic renewal");
21
    var RENEWALS_REMAINING = _("%s of %s renewals remaining");
22
    var RENEWALS_REMAINING = _("%s of %s renewals remaining");
22
    var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
23
    var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (+7 lines)
Lines 353-358 $(document).ready(function() { Link Here
353
353
354
                            span_style = "display: none";
354
                            span_style = "display: none";
355
                            span_class = "renewals-allowed";
355
                            span_class = "renewals-allowed";
356
                        } else if ( oObj.can_renew_error == "auto_too_late" ) {
357
                            content += "<span class='renewals-disabled'>"
358
                                    + NOT_RENEWABLE_AUTO_TOO_LATE
359
                                    + "</span>";
360
361
                            span_style = "display: none";
362
                            span_class = "renewals-allowed";
356
                        } else if ( oObj.can_renew_error == "auto_renew" ) {
363
                        } else if ( oObj.can_renew_error == "auto_renew" ) {
357
                            content += "<span class='renewals-disabled'>"
364
                            content += "<span class='renewals-disabled'>"
358
                                    + NOT_RENEWABLE_AUTO_RENEW
365
                                    + NOT_RENEWABLE_AUTO_RENEW
(-)a/t/db_dependent/Circulation.t (-2 / +1 lines)
Lines 17-23 Link Here
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
19
20
use Test::More tests => 89;
20
use Test::More tests => 90;
21
21
22
BEGIN {
22
BEGIN {
23
    require_ok('C4::Circulation');
23
    require_ok('C4::Circulation');
24
- 

Return to bug 15581