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
@@ -18,7 +18,7 @@ from plinth.diagnostic_check import (DiagnosticCheck,
|
||||
from plinth.package import Packages
|
||||
from plinth.privileged import service as service_privileged
|
||||
|
||||
from . import privileged
|
||||
from . import manifest, privileged
|
||||
from .components import UsersAndGroups
|
||||
|
||||
first_boot_steps = [
|
||||
@@ -58,7 +58,7 @@ class UsersApp(app_module.App):
|
||||
info = app_module.Info(app_id=self.app_id, version=self._version,
|
||||
is_essential=True, name=_('Users and Groups'),
|
||||
icon='fa-users', description=_description,
|
||||
manual_page='Users')
|
||||
manual_page='Users', tags=manifest.tags)
|
||||
self.add(info)
|
||||
|
||||
menu_item = menu.Menu('menu-users', info.name, None, info.icon,
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
"""
|
||||
Application manifest for users and groups.
|
||||
"""
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
tags = [_('Manage accounts'), _('App permissions')]
|
||||
Reference in new issue
Block a user