Lines 526-538
$(document).ready(function() {
Link Here
|
526 |
+ __("No renewal before %s").format(oObj.can_renew_date) |
526 |
+ __("No renewal before %s").format(oObj.can_renew_date) |
527 |
+ "</span>"; |
527 |
+ "</span>"; |
528 |
|
528 |
|
529 |
span_style = "display: none"; |
|
|
530 |
span_class = "renewals-allowed"; |
531 |
} else if ( oObj.can_renew_error == "auto_too_soon" ) { |
532 |
msg += "<span class='renewals-disabled'>" |
533 |
+ __("Scheduled for automatic renewal") |
534 |
+ "</span>"; |
535 |
|
536 |
span_style = "display: none"; |
529 |
span_style = "display: none"; |
537 |
span_class = "renewals-allowed"; |
530 |
span_class = "renewals-allowed"; |
538 |
} else if ( oObj.can_renew_error == "auto_too_late" ) { |
531 |
} else if ( oObj.can_renew_error == "auto_too_late" ) { |
Lines 554-566
$(document).ready(function() {
Link Here
|
554 |
+ __("Automatic renewal failed, account expired") |
547 |
+ __("Automatic renewal failed, account expired") |
555 |
+ "</span>"; |
548 |
+ "</span>"; |
556 |
|
549 |
|
557 |
span_style = "display: none"; |
|
|
558 |
span_class = "renewals-allowed"; |
559 |
} else if ( oObj.can_renew_error == "auto_renew" ) { |
560 |
msg += "<span class='renewals-disabled'>" |
561 |
+ __("Scheduled for automatic renewal") |
562 |
+ "</span>"; |
563 |
|
564 |
span_style = "display: none"; |
550 |
span_style = "display: none"; |
565 |
span_class = "renewals-allowed"; |
551 |
span_class = "renewals-allowed"; |
566 |
} else if ( oObj.can_renew_error == "onsite_checkout" ) { |
552 |
} else if ( oObj.can_renew_error == "onsite_checkout" ) { |
Lines 608-613
$(document).ready(function() {
Link Here
|
608 |
} |
594 |
} |
609 |
content += ")</span>"; |
595 |
content += ")</span>"; |
610 |
} |
596 |
} |
|
|
597 |
if(oObj.auto_renew){ |
598 |
content += "<span class='renewals-info'>("; |
599 |
content += __("Scheduled for automatic renewal"); |
600 |
content += ")</span>"; |
601 |
} |
611 |
|
602 |
|
612 |
return content; |
603 |
return content; |
613 |
} |
604 |
} |