Features: 1) Update link name to "REST Docs".

Fixes: 1) Remove duplicate and unused "B2B REST Docs" link.

Extra: 1) Minor cleanup in navigation settings.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-11-08 06:07:31 +03:00
parent 18e38d1665
commit c09c0d8753

View file

@ -26,15 +26,10 @@ JAZZMIN_SETTINGS = {
"new_window": True, "new_window": True,
}, },
{ {
"name": _("Platform REST Docs"), "name": _("REST Docs"),
"url": f"https://api.{CONSTANCE_CONFIG.get('BASE_DOMAIN')[0]}/docs/swagger", # type: ignore [index] "url": f"https://api.{CONSTANCE_CONFIG.get('BASE_DOMAIN')[0]}/docs/swagger", # type: ignore [index]
"new_window": True, "new_window": True,
}, },
{
"name": _("B2B REST Docs"),
"url": f"https://api.{CONSTANCE_CONFIG.get('BASE_DOMAIN')[0]}/b2b/docs/swagger", # type: ignore [index]
"new_window": True,
},
{"name": _("Support"), "url": "https://t.me/fureunoir", "new_window": True}, {"name": _("Support"), "url": "https://t.me/fureunoir", "new_window": True},
], ],
"usermenu_links": [], "usermenu_links": [],