Add order respondes

This commit is contained in:
2022-10-03 01:41:53 +03:00
parent 9a1b0f7d5a
commit 6f70716f0a
12 changed files with 258 additions and 50 deletions

View File

@@ -49,13 +49,13 @@
<div class="dropdown-content">
{% if user.is_authenticated %}
<a href="{% url 'profile' %}">Профиль</a>
<a href="#">Мои заказы</a>
<a href="{% url 'my-orders' %}">Мои заказы</a>
<a href="#">Мой кошелёк</a>
<a href="#">Мои записи</a>
<a href="{% url 'logout'%}?next={{request.path}}">Выход</a>
{% else %}
<span>Вы не вошли</span>
<a href="{% url 'login'%}?next={{request.path}}">Вход</a>
<a href="{% url 'login' %}?next={{request.path}}">Вход</a>
<a href="{% url 'register' %}?next={{request.path}}">Регистрация</a>
{% endif %}
</div>