Bug 15581: Display the generic "schedule for auto renew" message on the checkouts table
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
15b1f6c7fe
commit
6e2caf74f8
|
|
@ -17,6 +17,7 @@
|
|||
var NOT_RENEWABLE = _("Not renewable");
|
||||
var NOT_RENEWABLE_TOO_SOON = _("No renewal before %s");
|
||||
var NOT_RENEWABLE_AUTO_TOO_SOON = _("Scheduled for automatic renewal");
|
||||
var NOT_RENEWABLE_AUTO_TOO_LATE = _("Scheduled for automatic renewal");
|
||||
var NOT_RENEWABLE_AUTO_RENEW = _("Scheduled for automatic renewal");
|
||||
var RENEWALS_REMAINING = _("%s of %s renewals remaining");
|
||||
var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
|
||||
|
|
|
|||
|
|
@ -351,6 +351,13 @@ $(document).ready(function() {
|
|||
+ NOT_RENEWABLE_AUTO_TOO_SOON
|
||||
+ "</span>";
|
||||
|
||||
span_style = "display: none";
|
||||
span_class = "renewals-allowed";
|
||||
} else if ( oObj.can_renew_error == "auto_too_late" ) {
|
||||
content += "<span class='renewals-disabled'>"
|
||||
+ NOT_RENEWABLE_AUTO_TOO_LATE
|
||||
+ "</span>";
|
||||
|
||||
span_style = "display: none";
|
||||
span_class = "renewals-allowed";
|
||||
} else if ( oObj.can_renew_error == "auto_renew" ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue