0.0.16 logo from admin
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
from django.http import HttpResponse, Http404, FileResponse
|
from django.http import HttpResponse, Http404, FileResponse
|
||||||
|
from admin_interface.templatetags.admin_interface_tags import get_admin_interface_theme
|
||||||
|
|
||||||
|
|
||||||
def get_inter_Dict(user):
|
def get_inter_Dict(user):
|
||||||
|
|
||||||
@@ -6,8 +8,10 @@ def get_inter_Dict(user):
|
|||||||
|
|
||||||
from ServicesApp.funcs import get_sections
|
from ServicesApp.funcs import get_sections
|
||||||
sections = get_sections()
|
sections = get_sections()
|
||||||
|
theme = get_admin_interface_theme()
|
||||||
Dict.update({
|
Dict.update({
|
||||||
'sections': sections
|
'sections': sections,
|
||||||
|
'logo': theme.logo.url
|
||||||
})
|
})
|
||||||
# from SubscribesApp.funcs import get_cur_user_subscribe
|
# from SubscribesApp.funcs import get_cur_user_subscribe
|
||||||
# user_subscribe = get_cur_user_subscribe(user)
|
# user_subscribe = get_cur_user_subscribe(user)
|
||||||
|
|||||||
@@ -1,8 +1,11 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
{% load admin_interface_tags %}
|
||||||
|
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="cut-width">
|
<div class="cut-width">
|
||||||
<div class="left_part_header">
|
<div class="left_part_header">
|
||||||
<img src="{% static "images/logo.svg" %}" class="logo_header">
|
{# <img src="{% static "images/logo.svg" %}" class="logo_header">#}
|
||||||
|
<img src="{{ logo }}" class="logo_header">
|
||||||
</div>
|
</div>
|
||||||
<div class="right_part_header">
|
<div class="right_part_header">
|
||||||
<a class="standart_txt text_header pointer">Поддержка</a>
|
<a class="standart_txt text_header pointer">Поддержка</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user