diff --git a/GeneralApp/funcs.py b/GeneralApp/funcs.py index da305d4..b3b9bd0 100644 --- a/GeneralApp/funcs.py +++ b/GeneralApp/funcs.py @@ -1,4 +1,6 @@ from django.http import HttpResponse, Http404, FileResponse +from admin_interface.templatetags.admin_interface_tags import get_admin_interface_theme + def get_inter_Dict(user): @@ -6,8 +8,10 @@ def get_inter_Dict(user): from ServicesApp.funcs import get_sections sections = get_sections() + theme = get_admin_interface_theme() Dict.update({ - 'sections': sections + 'sections': sections, + 'logo': theme.logo.url }) # from SubscribesApp.funcs import get_cur_user_subscribe # user_subscribe = get_cur_user_subscribe(user) diff --git a/templates/blocks/static/header.html b/templates/blocks/static/header.html index ad39e6d..1d9021a 100644 --- a/templates/blocks/static/header.html +++ b/templates/blocks/static/header.html @@ -1,8 +1,11 @@ {% load static %} +{% load admin_interface_tags %} +
- +{# #} +