|
@@ -34,7 +34,7 @@ JAZZMIN_SETTINGS = {
|
|
|
"search_model": ["SharixAdmin.SharixUser"],
|
|
|
|
|
|
# Field name on user model that contains avatar ImageField/URLField/Charfield or a callable that receives the user
|
|
|
- "user_avatar": None,
|
|
|
+ "user_avatar": "",
|
|
|
|
|
|
############
|
|
|
# Top Menu #
|
|
@@ -44,7 +44,7 @@ JAZZMIN_SETTINGS = {
|
|
|
"topmenu_links": [
|
|
|
|
|
|
# Url that gets reversed (Permissions can be added)
|
|
|
- {"name": "Home", "url": "admin:index", "permissions": ["auth.view_user"]},
|
|
|
+ {"name": "Главная", "url": "admin:index", "permissions": ["auth.view_user"]},
|
|
|
|
|
|
# external url that opens in a new window (Permissions can be added)
|
|
|
#{"name": "Support", "url": "https://github.com/farridav/django-jazzmin/issues", "new_window": True},
|
|
@@ -86,14 +86,14 @@ JAZZMIN_SETTINGS = {
|
|
|
# #"order_with_respect_to": ["auth", "books", "books.author", "books.book"],
|
|
|
|
|
|
# # Custom links to append to app groups, keyed on app name
|
|
|
- # # "custom_links": {
|
|
|
- # # "books": [{
|
|
|
- # # "name": "Make Messages",
|
|
|
- # # "url": "make_messages",
|
|
|
- # # "icon": "fas fa-comments",
|
|
|
- # # "permissions": ["books.view_book"]
|
|
|
- # # }]
|
|
|
- # # },
|
|
|
+ # "custom_links": {
|
|
|
+ # "tickets": [{
|
|
|
+ # "name": "Make Messages",
|
|
|
+ # "url": "make_messages",
|
|
|
+ # "icon": "fas fa-comments",
|
|
|
+ # "permissions": ["tickets.view_book"]
|
|
|
+ # }]
|
|
|
+ # },
|
|
|
|
|
|
# # Custom icons for side menu apps/models See https://fontawesome.com/icons?d=gallery&m=free&v=5.0.0,5.0.1,5.0.10,5.0.11,5.0.12,5.0.13,5.0.2,5.0.3,5.0.4,5.0.5,5.0.6,5.0.7,5.0.8,5.0.9,5.1.0,5.1.1,5.2.0,5.3.0,5.3.1,5.4.0,5.4.1,5.4.2,5.13.0,5.12.0,5.11.2,5.11.1,5.10.0,5.9.0,5.8.2,5.8.1,5.7.2,5.7.1,5.7.0,5.6.3,5.5.0,5.4.2
|
|
|
# # for the full list of 5.13.0 free icon classes
|
|
@@ -175,4 +175,4 @@ JAZZMIN_UI_TWEAKS = {
|
|
|
"success": "btn-outline-success"
|
|
|
},
|
|
|
"actions_sticky_top": False
|
|
|
-}
|
|
|
+}
|