mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
backups: Add option to select/deselect all apps for backup or restore
This is less tiresome for users and also improves the speed of functional tests. Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
c84769d800
commit
061c308e35
5 files changed
+67
-9
No files matched your search
@@ -40,7 +40,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
def _get_app_choices(apps):
|
||||
"""Return a list of check box multiple choices from list of apps."""
|
||||
choices = []
|
||||
choices = [('select_all', _("Include all apps"))]
|
||||
for app in apps:
|
||||
name = app.app.name
|
||||
if not app.has_data:
|
||||
|
||||
Reference in new issue
Block a user