Эх сурвалжийг харах

fix service and partner information

Староверов Данила Андреевич 1 жил өмнө
parent
commit
f063f076c5

+ 2 - 2
SharixAdmin/urls.py

@@ -39,8 +39,8 @@ urlpatterns = [
     path('service_type/add/', login_required(ServiceTypeCreate.as_view()), name='service_type/add/'),
     path('service_type/delete/<int:pk>', login_required(ServiceTypeDelete.as_view()), name='service_type/delete/'),
 
-    path('service_information/add/', login_required(ServiceInformationCreate.as_view()), name='partner_information/add/'),
-    path('service_information/edit/<int:pk>', login_required(ServiceInformationUpdateView.as_view()), name='partner_information/edit/'),
+    path('service_information/add/', login_required(ServiceInformationCreate.as_view()), name='service_information/add/'),
+    path('service_information/edit/<int:pk>', login_required(ServiceInformationUpdateView.as_view()), name='service_information/edit/'),
 
 
 

+ 1 - 1
SharixAdmin/views/context.py

@@ -16,7 +16,7 @@ menu = [
     {'title':'Партнеры',                'link':'partners', 'sel':'people'},
     {'title':'Ресурсы',                 'link':'resource', 'sel':'sotrud'},
     {'title':'Услуги сервиса',          'link':'service_type', 'sel':'hdd-network'},
-    {'title':'Информация о сервисе',    'link':'partner_information/add/', 'sel':'hdd-network'},
+    {'title':'Информация о сервисе',    'link':'service_information/add/', 'sel':'hdd-network'},
     {'title':'Информация о партнере',   'link':'partner_information/add/', 'sel':'person'},
     {'title':'Тарифы',                  'link':'service', 'sel':'tikets'},
 ]