From 91af4089f06021ba80e0bf3180c3ac70fb560ba6 Mon Sep 17 00:00:00 2001 From: booblegum Date: Thu, 29 Dec 2016 17:59:29 +0300 Subject: [PATCH] =?UTF-8?q?PR-57=20=D0=98=D0=BA=D0=BE=D0=BD=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=B8=D0=B4=D0=B5=D0=BD=D1=82=D0=B8=D1=84=D0=B8=D0=BA=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20=D0=B2=20=D1=87=D0=B0=D1=82=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit У заказчика и исполнителя разные иконки в чате --- chat/templates/inc-contact-card.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chat/templates/inc-contact-card.html b/chat/templates/inc-contact-card.html index 402b160..fb3ff43 100644 --- a/chat/templates/inc-contact-card.html +++ b/chat/templates/inc-contact-card.html @@ -8,7 +8,7 @@ width: 20px; margin-right: 5px; background-size: cover; - background: url('/static/img/menu2.png') no-repeat 0 0; + background: url('{% static 'img/menu2.png' %}') no-repeat 0 0; } div.icon_mm2 { @@ -17,7 +17,7 @@ width: 20px; margin-right: 5px; background-size: cover; - background: url('/static/img/menu2.png') no-repeat 0 -20px; + background: url('{% static 'img/menu2.png' %}') no-repeat 0 -20px; } @@ -42,10 +42,10 @@ {% url "users:customer-profile-open-projects" pk=contact.pk as contact_url %} {% endif %}
- {% if request.user.is_contractor %} -
- {% else %} + {% if contact.is_contractor %}
+ {% else %} +
{% endif %} {{ contact.username }}