|
|
|
@ -10,7 +10,6 @@ |
|
|
|
{% block page_title %} |
|
|
|
{% block page_title %} |
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block content_list %} |
|
|
|
{% block content_list %} |
|
|
|
{% if member.blocked %} |
|
|
|
{% if member.blocked %} |
|
|
|
{% include "client/includes/accounts/blocked_user.html" %} |
|
|
|
{% include "client/includes/accounts/blocked_user.html" %} |
|
|
|
@ -23,30 +22,32 @@ |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{% if user.is_authenticated and not member.blocked %} |
|
|
|
{% if user.is_authenticated and not member.blocked %} |
|
|
|
{% block popup %} |
|
|
|
{% block popup %} |
|
|
|
<div id="pw-reply" class="popup-window pw-reply"> |
|
|
|
<div id="pw-reply" class="popup-window pw-reply"> |
|
|
|
<header class="clearfix"> |
|
|
|
<header class="clearfix"> |
|
|
|
<div class="pw-title">{% trans 'Отправить сообщение' %}</div> |
|
|
|
<div class="pw-title">{% trans 'Отправить сообщение' %}</div> |
|
|
|
</header> |
|
|
|
</header> |
|
|
|
<div class="pw-body clearfix"> |
|
|
|
<div class="pw-body clearfix"> |
|
|
|
<form class="pw-form" action="/send-to/{{ member.id }}/" method="post" id="send_message_form"> {% csrf_token %} |
|
|
|
<form class="pw-form" action="/send-to/{{ member.id }}/" method="post" id="send_message_form"> {% csrf_token %} |
|
|
|
<div class="pwf-line"> |
|
|
|
<div class="pwf-line"> |
|
|
|
<label for="reply_message">{% trans 'Текст сообщения' %}:</label> |
|
|
|
<label for="reply_message">{% trans 'Текст сообщения' %}:</label> |
|
|
|
<div class="pwf-field"> |
|
|
|
<div class="pwf-field"> |
|
|
|
<input type="hidden" value="" id="reply_message"> |
|
|
|
<input type="hidden" value="" id="reply_message"> |
|
|
|
{{ message_form.body }} |
|
|
|
{{ message_form.body }} |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="pwf-buttons-line"> |
|
|
|
<div class="pwf-buttons-line"> |
|
|
|
<button type="submit" class="icon-check">{% trans 'отправить' %}</button> |
|
|
|
<button type="submit" class="icon-check">{% trans 'отправить' %}</button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% if request.user == member %} |
|
|
|
{% if request.user == member %} |
|
|
|
{% include 'popups/create_company.html' with form=company_form %} |
|
|
|
{% include 'popups/create_company.html' with form=company_form %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
|
|
|
{% endblock %} |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
|