2.1.28 editable_routes property

This commit is contained in:
SDE
2025-01-24 19:54:53 +03:00
parent 4c7126f414
commit 04af851875
2 changed files with 3 additions and 0 deletions

View File

@@ -135,6 +135,8 @@ def get_profile_my_routes_page_content_html(request):
if user_subscribe:
routes_Dict.update(user_subscribe.remains_route_adding_options())
routes_Dict.update({'editable_routes': True})
html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)
return html

View File

@@ -334,6 +334,7 @@ def get_my_routes_ajax(request):
if user_subscribe:
routes_Dict.update(user_subscribe.remains_route_adding_options())
routes_Dict.update({'editable_routes': True})
html = render_to_string('v2/blocks/b_my_routes.html', routes_Dict, request=request)