243 lines
7.7 KiB
Python
243 lines
7.7 KiB
Python
from django.urls import reverse_lazy
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
PAGES = [
|
|
{
|
|
"seperator": False,
|
|
"items": [
|
|
{
|
|
"title": _("Bosh sahifa"),
|
|
"icon": "home",
|
|
"link": reverse_lazy("admin:index"),
|
|
}
|
|
],
|
|
},
|
|
{
|
|
"title": _("Foydalanuvchilar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Foydalanuvchilar"),
|
|
"icon": "group",
|
|
"link": reverse_lazy("admin:accounts_user_changelist"),
|
|
},
|
|
{
|
|
"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": _("Baholash so'rovlari"),
|
|
"icon": "rate_review",
|
|
"link": reverse_lazy("admin:evaluation_evaluationrequestmodel_changelist"),
|
|
},
|
|
{
|
|
"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"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Tarix"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Avto baholash tarixi"),
|
|
"icon": "history",
|
|
"link": reverse_lazy("admin:evaluation_autoevaluationhistorymodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Tezkor baholash tarixi"),
|
|
"icon": "manage_history",
|
|
"link": reverse_lazy("admin:evaluation_quickevaluationhistorymodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Chat"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Chat xabarlari"),
|
|
"icon": "chat",
|
|
"link": reverse_lazy("admin:chat_chatmessagemodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Ma'lumotnomalari"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Ma'lumotnomalar"),
|
|
"icon": "category",
|
|
"link": reverse_lazy("admin:evaluation_referenceitemmodel_changelist"),
|
|
},
|
|
],
|
|
},
|
|
{
|
|
"title": _("Auto baholash"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Hujjatlar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:evaluation_documentmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Kategoriyalar"),
|
|
"icon": "category",
|
|
"link": reverse_lazy("admin:evaluation_documentcategorymodel_changelist"),
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": _("Joylashuvlar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Shaharlar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:shared_regionmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Tumanlar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:shared_districtmodel_changelist"),
|
|
},
|
|
{
|
|
"title": _("Mahallalar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:shared_villagemodel_changelist"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"title": _("Ruxsatlar"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Ruxsatlar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:accounts_permission_changelist"),
|
|
},
|
|
{
|
|
"title": _("Sahifa uchun ruxsatlar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:accounts_permissiontotab_changelist"),
|
|
},
|
|
{
|
|
"title": _("Actionlar uchun ruxsatlar"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:accounts_permissiontoaction_changelist"),
|
|
},
|
|
{
|
|
"title": _("Role"),
|
|
"icon": "attach_file",
|
|
"link": reverse_lazy("admin:accounts_role_changelist"),
|
|
},
|
|
]
|
|
},
|
|
{
|
|
"title": _("Task Management"),
|
|
"separator": True,
|
|
"items": [
|
|
{
|
|
"title": _("Task"),
|
|
"icon": "task",
|
|
"link": reverse_lazy("admin:tasks_task_changelist"),
|
|
},
|
|
{
|
|
"title": _("Column"),
|
|
"icon": "tag",
|
|
"link": reverse_lazy("admin:tasks_column_changelist"),
|
|
},
|
|
{
|
|
"title": _("Comment"),
|
|
"icon": "message",
|
|
"link": reverse_lazy("admin:tasks_comment_changelist"),
|
|
},
|
|
{
|
|
"title": _("Label"),
|
|
"icon": "tag",
|
|
"link": reverse_lazy("admin:tasks_label_changelist"),
|
|
},
|
|
]
|
|
}
|
|
]
|