0.0.16 logo from admin
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
{% load static %}
|
||||
{% load admin_interface_tags %}
|
||||
|
||||
<div class="header">
|
||||
<div class="cut-width">
|
||||
<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 class="right_part_header">
|
||||
<a class="standart_txt text_header pointer">Поддержка</a>
|
||||
|
||||
Reference in New Issue
Block a user