Lines 522-534
$(document).ready(function() {
Link Here
|
522 |
+ __("No renewal before %s").format(oObj.can_renew_date) |
522 |
+ __("No renewal before %s").format(oObj.can_renew_date) |
523 |
+ "</span>"; |
523 |
+ "</span>"; |
524 |
|
524 |
|
525 |
span_style = "display: none"; |
|
|
526 |
span_class = "renewals-allowed"; |
527 |
} else if ( oObj.can_renew_error == "auto_too_soon" ) { |
528 |
msg += "<span class='renewals-disabled'>" |
529 |
+ __("Scheduled for automatic renewal") |
530 |
+ "</span>"; |
531 |
|
532 |
span_style = "display: none"; |
525 |
span_style = "display: none"; |
533 |
span_class = "renewals-allowed"; |
526 |
span_class = "renewals-allowed"; |
534 |
} else if ( oObj.can_renew_error == "auto_too_late" ) { |
527 |
} else if ( oObj.can_renew_error == "auto_too_late" ) { |
Lines 550-562
$(document).ready(function() {
Link Here
|
550 |
+ __("Automatic renewal failed, account expired") |
543 |
+ __("Automatic renewal failed, account expired") |
551 |
+ "</span>"; |
544 |
+ "</span>"; |
552 |
|
545 |
|
553 |
span_style = "display: none"; |
|
|
554 |
span_class = "renewals-allowed"; |
555 |
} else if ( oObj.can_renew_error == "auto_renew" ) { |
556 |
msg += "<span class='renewals-disabled'>" |
557 |
+ __("Scheduled for automatic renewal") |
558 |
+ "</span>"; |
559 |
|
560 |
span_style = "display: none"; |
546 |
span_style = "display: none"; |
561 |
span_class = "renewals-allowed"; |
547 |
span_class = "renewals-allowed"; |
562 |
} else if ( oObj.can_renew_error == "onsite_checkout" ) { |
548 |
} else if ( oObj.can_renew_error == "onsite_checkout" ) { |
Lines 604-609
$(document).ready(function() {
Link Here
|
604 |
} |
590 |
} |
605 |
content += ")</span>"; |
591 |
content += ")</span>"; |
606 |
} |
592 |
} |
|
|
593 |
if(oObj.auto_renew){ |
594 |
content += "<span class='renewals-info'>("; |
595 |
content += __("Scheduled for automatic renewal"); |
596 |
content += ")</span>"; |
597 |
} |
607 |
|
598 |
|
608 |
return content; |
599 |
return content; |
609 |
} |
600 |
} |