0.9.0 404 prepare

This commit is contained in:
SDE
2024-01-08 13:22:11 +03:00
parent fb9228c432
commit 0b5b557a35
6 changed files with 92 additions and 30 deletions

8
templates/404.html Normal file
View File

@@ -0,0 +1,8 @@
{% extends "tb_base.html" %}
{% block content %}
404
{% endblock %}

View File

@@ -13,7 +13,17 @@
{# <h1>Техническая поддержка</h1>#}
{# </div>#}
{% if user.is_staff or staff %}
<div class="menu_buttons curtain left {% if mobile %}{% if not ticket %}open{% else %}close{% endif %}{% else %}open{% endif %}{% if name.ticket %}margin{% endif %}" data-name="<img style='width: 25px;display: block;position: relative;bottom: 0;' src='{% static "/img/svg/users-solid.svg" %}'>">
<div class="menu_buttons curtain left
{% if mobile %}
{% if not ticket %}open
{% else %}close
{% endif %}
{% else %}
open
{% endif %}
{% if name.ticket %}margin{% endif %}"
data-name="<img style='width: 25px;display: block;position: relative;bottom: 0;' src='{% static "/img/svg/users-solid.svg" %}'>"
>
<div class="container_block_list_of_users">
{% include 'blocks/profile/b_list_of_tickets_support_chat.html' %}
</div>

View File

@@ -1,19 +1,11 @@
{% if page.seo_title %}
<title>{{ page.seo_title }}</title>
{% elif page.title %}
<title>{{ page.title }}</title>
{% elif page.name %}
<title>{{ page.name }}</title>
{% endif %}
<title>{{ page.get_title }}</title>
{% if page.seo_description %}
<meta name="description" content="{{ page.seo_description }}"/>
{% elif page.description %}
<meta name="description" content="{{ page.description }}"/>
{% if page.get_description %}
<meta name="description" content="{{ page.get_description }}"/>
{% endif %}
{% if page.seo_keywords %}
<meta name="keywords" content="{{ page.seo_keywords }}"/>
{% elif page.description %}
<meta name="keywords" content="{{ page.description }}"/>
{% elif page.get_description %}
<meta name="keywords" content="{{ page.get_description }}"/>
{% endif %}