Features: None;
Fixes: None; Extra: 1) Remove unused `divider_title` attribute across app configurations and settings; 2) Cleanup unnecessary translation import in `daisy.py`.
This commit is contained in:
parent
29f8be5624
commit
fe9dfe552b
5 changed files with 0 additions and 10 deletions
|
|
@ -7,7 +7,6 @@ class BlogConfig(AppConfig):
|
||||||
name = "blog"
|
name = "blog"
|
||||||
verbose_name = _("blog")
|
verbose_name = _("blog")
|
||||||
icon = "fa fa-solid fa-book"
|
icon = "fa fa-solid fa-book"
|
||||||
divider_title = _("eVibes Engine")
|
|
||||||
priority = 86
|
priority = 86
|
||||||
hide = False
|
hide = False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ class CoreConfig(AppConfig):
|
||||||
name = "core"
|
name = "core"
|
||||||
verbose_name = _("core")
|
verbose_name = _("core")
|
||||||
icon = "fa fa-solid fa-star"
|
icon = "fa fa-solid fa-star"
|
||||||
divider_title = _("eVibes Engine")
|
|
||||||
priority = 88
|
priority = 88
|
||||||
hide = False
|
hide = False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
from django.utils.translation import gettext_lazy as _
|
|
||||||
|
|
||||||
from evibes.settings import CONSTANCE_CONFIG
|
from evibes.settings import CONSTANCE_CONFIG
|
||||||
|
|
||||||
DAISY_SETTINGS: dict = {
|
DAISY_SETTINGS: dict = {
|
||||||
|
|
@ -16,28 +14,24 @@ DAISY_SETTINGS: dict = {
|
||||||
"django_celery_results": {
|
"django_celery_results": {
|
||||||
"hide": True,
|
"hide": True,
|
||||||
"app": "django_celery_results",
|
"app": "django_celery_results",
|
||||||
"divider_title": _("eVibes System"),
|
|
||||||
},
|
},
|
||||||
"django_celery_beat": {
|
"django_celery_beat": {
|
||||||
"icon": "fa fa-solid fa-timeline",
|
"icon": "fa fa-solid fa-timeline",
|
||||||
"hide": False,
|
"hide": False,
|
||||||
"app": "django_celery_beat",
|
"app": "django_celery_beat",
|
||||||
"priority": 1,
|
"priority": 1,
|
||||||
"divider_title": _("eVibes System"),
|
|
||||||
},
|
},
|
||||||
"django_mailbox": {
|
"django_mailbox": {
|
||||||
"icon": "fa fa-solid fa-envelope",
|
"icon": "fa fa-solid fa-envelope",
|
||||||
"hide": False,
|
"hide": False,
|
||||||
"app": "django_mailbox",
|
"app": "django_mailbox",
|
||||||
"priority": 2,
|
"priority": 2,
|
||||||
"divider_title": _("eVibes System"),
|
|
||||||
},
|
},
|
||||||
"django_summernote": {
|
"django_summernote": {
|
||||||
"icon": "fa fa-solid fa-note-sticky",
|
"icon": "fa fa-solid fa-note-sticky",
|
||||||
"hide": False,
|
"hide": False,
|
||||||
"app": "django_summernote",
|
"app": "django_summernote",
|
||||||
"priority": 3,
|
"priority": 3,
|
||||||
"divider_title": _("eVibes System"),
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ class PaymentsConfig(AppConfig):
|
||||||
name = "payments"
|
name = "payments"
|
||||||
verbose_name = _("payments")
|
verbose_name = _("payments")
|
||||||
icon = "fa fa-solid fa-wallet"
|
icon = "fa fa-solid fa-wallet"
|
||||||
divider_title = _("eVibes Engine")
|
|
||||||
priority = 87
|
priority = 87
|
||||||
hide = False
|
hide = False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ class VibesAuthConfig(AppConfig):
|
||||||
name = "vibes_auth"
|
name = "vibes_auth"
|
||||||
verbose_name = _("authentication")
|
verbose_name = _("authentication")
|
||||||
icon = "fa fa-solid fa-user"
|
icon = "fa fa-solid fa-user"
|
||||||
divider_title = _("eVibes Auth")
|
|
||||||
priority = 89
|
priority = 89
|
||||||
hide = False
|
hide = False
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue