diff --git a/src/js/client.js b/src/js/client.js index 5e35baf13..356ddbbb0 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -1545,6 +1545,10 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout }); }; + Client.prototype.getAppBackupDownloadLink = function (appId, backupId) { + return client.apiOrigin + '/api/v1/apps/' + appId + '/backups/' + backupId + '/download?access_token=' + token; + }; + Client.prototype.getServices = function (callback) { get('/api/v1/services', null, function (error, data, status) { if (error) return callback(error); diff --git a/src/translation/en.json b/src/translation/en.json index d9c851d71..b20826d02 100644 --- a/src/translation/en.json +++ b/src/translation/en.json @@ -1536,7 +1536,8 @@ "cloneTooltip": "Clone from this Backup", "restoreTooltip": "Restore to this Backup", "createBackupAction": "Create Backup", - "importAction": "Import Backup" + "importAction": "Import Backup", + "downloadBackupTooltip": "Download Backup" }, "import": { "title": "Import From External Backup", diff --git a/src/views/app.html b/src/views/app.html index b2fa8f8e5..adf623586 100644 --- a/src/views/app.html +++ b/src/views/app.html @@ -1397,6 +1397,7 @@