From c0a20e582f53f8c64fd3bf9c3728c72ef73f8d88 Mon Sep 17 00:00:00 2001 From: gzbender Date: Tue, 23 Apr 2019 19:08:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B1=D0=B0=D0=BD=D0=BD=D0=B5=D1=80=20=D1=81?= =?UTF-8?q?=20=D0=BE=D0=B1=D1=80=D0=B0=D1=82=D0=BD=D1=8B=D0=BC=20=D0=BE?= =?UTF-8?q?=D1=82=D1=81=D1=87=D0=B5=D1=82=D0=BE=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/templates/blocks/banner.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/project/templates/blocks/banner.html b/project/templates/blocks/banner.html index 6f38a3fc..64fa6728 100644 --- a/project/templates/blocks/banner.html +++ b/project/templates/blocks/banner.html @@ -13,11 +13,11 @@ {% endif %} display: none; background-color: {{ banner.color|default:'white' }};"> - {# if request.user_agent.is_mobile #} - - - - {# else #} + {% if request.user_agent.is_mobile %} + + {% else %} {% endif %}