You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
44 lines
1.3 KiB
{% extends 'base_catalog.html' %}
|
|
{% load static %}
|
|
{% load i18n %}
|
|
{% load template_filters %}
|
|
|
|
{% block bread_scrumbs %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block page_title %}
|
|
{% endblock %}
|
|
|
|
|
|
{% block content_list %}
|
|
{% if request.user == member %}
|
|
{% include 'client/includes/accounts/current_user.html' %}
|
|
{% else %}
|
|
{% include 'client/includes/accounts/simple_user.html' %}
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
{% if user.is_authenticated %}
|
|
{% block popup %}
|
|
<div id="pw-reply" class="popup-window pw-reply">
|
|
<header class="clearfix">
|
|
<div class="pw-title">{% trans 'Ответить' %}</div>
|
|
</header>
|
|
<div class="pw-body clearfix">
|
|
<form class="pw-form" action="/send-to/{{ member.id }}/" method="post" id="send_message_form"> {% csrf_token %}
|
|
<div class="pwf-line">
|
|
<label for="reply-msg">{% trans 'Сообщение' %}:</label>
|
|
<div class="pwf-field">
|
|
<input type="hidden" value="" id="reply_message">
|
|
{{ message_form.body }}
|
|
</div>
|
|
</div>
|
|
<div class="pwf-buttons-line">
|
|
<button type="submit" class="icon-check">{% trans 'отправить' %}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% endif %} |