profile static pages
This commit is contained in:
SDE
2023-09-04 12:08:25 +03:00
parent 436cd9aa58
commit 7dd1fe5dfe
14 changed files with 354 additions and 173 deletions

View File

@@ -20,8 +20,8 @@
<div>Информация</div>
<div>
<div>
<div><a href="{% url 'create_route_for_mover_View' %}">Перевезти посылку</a></div>
<div><a href="{% url 'create_route_for_customer_View' %}">Отправить посылку</a></div>
<div><a href="{% url 'profile_page' 'create_route_for_mover' %}">Перевезти посылку</a></div>
<div><a href="{% url 'profile_page' 'create_route_for_customer' %}">Отправить посылку</a></div>
<div><a href="{% url 'static_page' 'for_movers' %}">Для отправителя</a></div>
<div><a href="{% url 'static_page' 'for_customers' %}">Для перевозчика</a></div>
</div>
@@ -48,7 +48,10 @@
</div>
</div>
<div class="fifth-column"><a href="#">Регистрация</a><a href="#">Войти</a></div>
<div class="fifth-column">
<a href="{% url "registration_page" %}">Регистрация</a>
<a href="{% url "login_profile" %}">Войти</a>
</div>
</div>
<div class="clear-both"></div>

View File

@@ -48,10 +48,13 @@
</div>
</div>
<div class="info_profile">
{% if not page %}
{% if not page_html %}
{% include "blocks/profile/b_profile_first_page.html" %}
{% elif page == 'chat' %}
{% include "blocks/profile/b_chats.html" %}
{% else %}
{{ page_html|safe }}
{# {% include "blocks/profile/b_chats.html" %}#}
{# {% elif page == 'chat' %}#}
{# {% include "blocks/profile/b_chats.html" %}#}
{% endif %}
</div>
<div class="clear_both"></div>