From 32eec4d69978935c6e6d9c457ed4be68e8892b6a Mon Sep 17 00:00:00 2001 From: gzbender Date: Thu, 5 Sep 2019 21:52:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B3=20/=20=D0=9F=D0=BE=D1=81?= =?UTF-8?q?=D0=BB=D0=B5=20=D0=BE=D0=BF=D0=BB=D0=B0=D1=82=D1=8B=20=D0=B1?= =?UTF-8?q?=D0=BE=D0=BD=D1=83=D1=81=D0=B0=D0=BC=D0=B8=20=D0=BF=D0=BE=D0=BA?= =?UTF-8?q?=D0=B0=D0=B7=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20=D0=BF=D0=BE=D0=BF?= =?UTF-8?q?=D0=B0=D0=BF=20"=D0=B2=D0=B0=D0=BC=20=D0=BD=D0=B0=D1=87=D0=B8?= =?UTF-8?q?=D1=81=D0=BB=D0=B5=D0=BD=D0=BE=20=D0=A5=20=D0=BB=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=D0=BA=D0=BE=D0=B2"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/templates/blocks/lil_store_js.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/templates/blocks/lil_store_js.html b/project/templates/blocks/lil_store_js.html index 84471ccd..54c9ca60 100644 --- a/project/templates/blocks/lil_store_js.html +++ b/project/templates/blocks/lil_store_js.html @@ -17,8 +17,8 @@ id: '{{ request.user.id|default:'' }}', role: +'{{ request.user.role }}', photo: '{% if request.user.photo %}{{ request.user.photo.url }}{% else %}{% static 'img/user_default.jpg' %}{% endif %}', - newBonuses: {{ request.user.new_bonuses }}, - bonus: +'{{ request.user.bonus }}', + newBonuses: {{ request.user.new_bonuses|default:0 }}, + bonus: {{ request.user.bonus|default:0 }}, }, components: {}, urls: {