Features: 1) Update admin icons for better visual representation ("order products" and "children").
Fixes: None; Extra: 1) Normalize code formatting in `vibes_auth` manager methods for consistency; 2) Clean redundant indentation and comments in methods.
This commit is contained in:
parent
e6d59f053c
commit
426af1ad2c
2 changed files with 52 additions and 52 deletions
|
|
@ -145,7 +145,7 @@ class OrderProductInline(TabularInline):
|
||||||
is_navtab = True
|
is_navtab = True
|
||||||
verbose_name = _("order product")
|
verbose_name = _("order product")
|
||||||
verbose_name_plural = _("order products")
|
verbose_name_plural = _("order products")
|
||||||
icon = "fa-regular fa-circle-dot"
|
icon = "fa-solid fa-boxes-packing"
|
||||||
|
|
||||||
def get_queryset(self, request):
|
def get_queryset(self, request):
|
||||||
return (
|
return (
|
||||||
|
|
@ -164,7 +164,7 @@ class CategoryChildrenInline(TabularInline):
|
||||||
is_navtab = True
|
is_navtab = True
|
||||||
verbose_name = _("children")
|
verbose_name = _("children")
|
||||||
verbose_name_plural = _("children")
|
verbose_name_plural = _("children")
|
||||||
icon = "fa-regular fa-circle-dot"
|
icon = "fa-solid fa-leaf"
|
||||||
|
|
||||||
|
|
||||||
@admin.register(AttributeGroup)
|
@admin.register(AttributeGroup)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue