From 71824d3a4460267fe1cf7c04cbb02bf8e6c478eb Mon Sep 17 00:00:00 2001 From: Max Yakovenko Date: Thu, 19 Jul 2018 09:08:24 +0300 Subject: [PATCH] fix bug with logout url in header component --- templates/components/header.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/templates/components/header.html b/templates/components/header.html index 5db37ff..e838a95 100644 --- a/templates/components/header.html +++ b/templates/components/header.html @@ -50,11 +50,13 @@ {% endif %} - Перейти в корзину {% if request.user.is_authenticated %} - 5 + Перейти в корзину{{ "5" }} + {% else %} + Перейти в корзину {% endif %} +
{% if request.user.is_authenticated %}
- {% endif %}