Merge pull request 'admin fayllari to'g'irlandi' (#17) from feat/all-admins into main
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 3m7s
All checks were successful
Deploy to Production / build-and-deploy (push) Successful in 3m7s
Reviewed-on: #17
This commit is contained in:
@@ -6,26 +6,105 @@ PAGES = [
|
||||
"seperator": False,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Home page"),
|
||||
"title": _("Bosh sahifa"),
|
||||
"icon": "home",
|
||||
"link": reverse_lazy("admin:index"),
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": _("Auth"),
|
||||
"separator": True, # Top border
|
||||
"title": _("Foydalanuvchilar"),
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Users"),
|
||||
"title": _("Foydalanuvchilar"),
|
||||
"icon": "group",
|
||||
"link": reverse_lazy("admin:http_user_changelist"),
|
||||
"link": reverse_lazy("admin:accounts_user_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Group"),
|
||||
"icon": "group",
|
||||
"title": _("Guruhlar"),
|
||||
"icon": "admin_panel_settings",
|
||||
"link": reverse_lazy("admin:auth_group_changelist"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": _("Buyurtmachilar"),
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Buyurtmachilar"),
|
||||
"icon": "person",
|
||||
"link": reverse_lazy("admin:evaluation_customermodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Mulk egalari"),
|
||||
"icon": "badge",
|
||||
"link": reverse_lazy("admin:evaluation_propertyownermodel_changelist"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": _("Arizalar"),
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Barcha arizalar"),
|
||||
"icon": "description",
|
||||
"link": reverse_lazy("admin:evaluation_valuationmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Ariza hujjatlari"),
|
||||
"icon": "attach_file",
|
||||
"link": reverse_lazy("admin:evaluation_valuationdocumentmodel_changelist"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": _("Baholash turlari"),
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Avto baholash"),
|
||||
"icon": "directions_car",
|
||||
"link": reverse_lazy("admin:evaluation_autoevaluationmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Transport vositalari"),
|
||||
"icon": "car_repair",
|
||||
"link": reverse_lazy("admin:evaluation_vehiclemodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Ko'chmas mulk"),
|
||||
"icon": "home_work",
|
||||
"link": reverse_lazy("admin:evaluation_realestateevaluationmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Ko'char mulk"),
|
||||
"icon": "inventory_2",
|
||||
"link": reverse_lazy("admin:evaluation_movablepropertyevaluationmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("Tezkor baholash"),
|
||||
"icon": "bolt",
|
||||
"link": reverse_lazy("admin:evaluation_quickevaluationmodel_changelist"),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": _("Natijalar"),
|
||||
"separator": True,
|
||||
"items": [
|
||||
{
|
||||
"title": _("Hisobotlar"),
|
||||
"icon": "summarize",
|
||||
"link": reverse_lazy("admin:evaluation_evaluationreportmodel_changelist"),
|
||||
},
|
||||
{
|
||||
"title": _("To'lovlar"),
|
||||
"icon": "payments",
|
||||
"link": reverse_lazy("admin:payment_paymentmodel_changelist"),
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
@@ -90,6 +90,6 @@ UNFOLD = {
|
||||
"SIDEBAR": {
|
||||
"show_search": True,
|
||||
"show_all_applications": True,
|
||||
# "navigation": navigation.PAGES,
|
||||
"navigation": navigation.PAGES,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user