diff --git a/app/assets/javascripts/admin/routes/admin_backups_logs_route.js b/app/assets/javascripts/admin/routes/admin_backups_logs_route.js index 67f828692ab..e1f3101d690 100644 --- a/app/assets/javascripts/admin/routes/admin_backups_logs_route.js +++ b/app/assets/javascripts/admin/routes/admin_backups_logs_route.js @@ -16,6 +16,8 @@ Discourse.AdminBackupsLogsRoute = Discourse.Route.extend({ logsController.pushObjects(logs); } }); - } + }, + + setupController: function() { /* prevent default behavior */ } }); diff --git a/app/assets/javascripts/admin/templates/backups_index.js.handlebars b/app/assets/javascripts/admin/templates/backups_index.js.handlebars index e2f64072cec..e259ceb32b2 100644 --- a/app/assets/javascripts/admin/templates/backups_index.js.handlebars +++ b/app/assets/javascripts/admin/templates/backups_index.js.handlebars @@ -1,20 +1,24 @@
{{i18n admin.backups.columns.filename}} | +{{i18n admin.backups.columns.filename}} | {{i18n admin.backups.columns.size}} | -- {{resumable-upload target="/admin/backups/upload" success="uploadSuccess" error="uploadError" uploadText=uploadText}} - + |
+
+ {{resumable-upload target="/admin/backups/upload" success="uploadSuccess" error="uploadError" uploadText=uploadText}}
+
+
|
---|---|---|---|---|
{{backup.filename}} | {{humanSize backup.size}} | -- {{i18n admin.backups.operations.download.text}} - - + | + |