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:
Sunil Mohan Adapa committed 2024-12-29 22:58:23 -08:00
1 parent 0ae2df12a9
commit 3a0db947b2
37 files changed
+135 -29

No files matched your search

+3 -2
View File
@@ -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,
+13
View File
@@ -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')
]