mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
system: Add tags to all remaining apps
Tests: - Visit the system page and notice that tags appear as expected for all items on the page. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
37 files changed
+135
-29
No files matched your search
@@ -16,7 +16,7 @@ from plinth import app as app_module
|
||||
from plinth import cfg, glib, menu
|
||||
from plinth.package import Packages
|
||||
|
||||
from . import api, privileged
|
||||
from . import api, manifest, privileged
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -43,7 +43,8 @@ class BackupsApp(app_module.App):
|
||||
app_id=self.app_id, version=self._version, is_essential=True,
|
||||
depends=['storage'], name=_('Backups'), icon='fa-files-o',
|
||||
description=_description, manual_page='Backups',
|
||||
donation_url='https://www.borgbackup.org/support/fund.html')
|
||||
donation_url='https://www.borgbackup.org/support/fund.html',
|
||||
tags=manifest.tags)
|
||||
self.add(info)
|
||||
|
||||
menu_item = menu.Menu('menu-backups', info.name, None, info.icon,
|
||||
|
||||
@@ -3,7 +3,20 @@
|
||||
Application manifest for backups.
|
||||
"""
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
# Currently, backup application does not have any settings. However, settings
|
||||
# such as scheduler settings, backup location, secrets to connect to remove
|
||||
# servers need to be backed up.
|
||||
backup: dict = {}
|
||||
|
||||
tags = [
|
||||
_('Restore'),
|
||||
_('Encrypted'),
|
||||
_('Schedules'),
|
||||
_('Local'),
|
||||
_('Remote'),
|
||||
_('App data'),
|
||||
_('Configuration'),
|
||||
_('Borg')
|
||||
]
|
||||
Reference in new issue
Block a user