diff --git a/backup/static/backup/backup.js b/backup/static/backup/backup.js index da19d7add..2aebf2bd3 100755 --- a/backup/static/backup/backup.js +++ b/backup/static/backup/backup.js @@ -79,14 +79,9 @@ app.controller('backupPlanNowOneClick', function($scope, $http) { if (subResponse.data.status == 1) { $scope.showVerification = false; $scope.subscriptions = subResponse.data.subscriptions; + $scope.showSubscriptionsTable = true; - if ($scope.subscriptions.length > 0) { - new PNotify({ - title: 'Success', - text: 'Found ' + $scope.subscriptions.length + ' active subscriptions.', - type: 'success' - }); - } else { + if ($scope.subscriptions.length == 0) { new PNotify({ title: 'Info', text: 'No active subscriptions found for this email.', diff --git a/backup/templates/backup/oneClickBackups.html b/backup/templates/backup/oneClickBackups.html index 922bb7e1c..1ec0c61e5 100755 --- a/backup/templates/backup/oneClickBackups.html +++ b/backup/templates/backup/oneClickBackups.html @@ -83,6 +83,77 @@ + +
| Plan Name | +Status | +Amount | +Billing Interval | +Next Billing Date | +Actions | +
|---|---|---|---|---|---|
| {$ sub.plan_name $} | ++ + {$ sub.status $} + + | +${$ sub.amount $} | +{$ sub.interval $} | +{$ sub.current_period_end | date:'medium' $} | ++ + | +