diff --git a/plinth/modules/backups/templates/backups.html b/plinth/modules/backups/templates/backups.html index 677881936..d40b03a1f 100644 --- a/plinth/modules/backups/templates/backups.html +++ b/plinth/modules/backups/templates/backups.html @@ -118,6 +118,10 @@ {{ label }} {{ name }} + + {% trans "Download" %} + {% trans "Restore" %} diff --git a/plinth/modules/backups/urls.py b/plinth/modules/backups/urls.py index 68617d855..73e963da6 100644 --- a/plinth/modules/backups/urls.py +++ b/plinth/modules/backups/urls.py @@ -20,14 +20,16 @@ URLs for the backups module. from django.conf.urls import url -from .views import IndexView, CreateArchiveView, ExportArchiveView, \ - DeleteArchiveView, RestoreView +from .views import IndexView, CreateArchiveView, DownloadArchiveView, \ + ExportArchiveView, DeleteArchiveView, RestoreView urlpatterns = [ url(r'^sys/backups/$', IndexView.as_view(), name='index'), url(r'^sys/backups/create/$', CreateArchiveView.as_view(), name='create'), url(r'^sys/backups/export/(?P[^/]+)/$', ExportArchiveView.as_view(), name='export'), + url(r'^sys/backups/download/(?P