diff --git a/chat/templates/chat_contractor.html b/chat/templates/chat_contractor.html index 15b1fdc..60ecad5 100644 --- a/chat/templates/chat_contractor.html +++ b/chat/templates/chat_contractor.html @@ -50,21 +50,7 @@
-ВЫ
13.0.2016ВЫ
Сейчас' + message.msg + '
'; }; @@ -573,6 +559,11 @@ $('.user-block').on('click', function () { var userId = $(this).attr('data-id'); $("#contact-chat-form #recipentId").val(userId); + $('.user-block').each(function () { + $(this).removeClass('mesAct'); + }); + + $(this).addClass('mesAct'); var inbox = document.getElementById('message-chat-space'); inbox.innerHTML = ''; $.ajax({ @@ -647,10 +638,6 @@ }); var inbox = $('#message-chat-space').html(); - $('#message-chat-space').html(inbox + 'Вы
Сейчас' + chatMessage + '
Иванов
13.0.2016Вы
Сейчас' + message.msg + '
Классификация здания
{{ form.building_classification}} +Есть допуск СРО
- {{ p.get_full_name }} + {{ p.get_full_name }}
Программист @@ -123,10 +123,13 @@ {% if contractor.team %} {% ratings_team_widget contractor.team.pk %} {% endif %} + + {% if contractor.cro %}Есть допуск СРО
Бюджет{{ portfolio_form.budget.errors.as_text }}
Срок выполнения{{ portfolio_form.budget.errors.as_text }}