Files
account_store/templates/widgets/w_request_tech_support.html
2023-12-03 20:37:01 +03:00

31 lines
942 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% load static %}
{% load i18n %}
<div class="container-message-req-sprt" onclick="openTicket({{ ticket.id }})">
<div class="message-sprt-inf">
<div>
<span>
{% translate "Статус:" %} {{ ticket.get_status_display }}
{# Статус: Открыт#}
</span>
{# <img>#}
<span id="modified_date">
{# 10.02.2023#}
{{ ticket.modifiedDT|date:"d.m.Y" }}
</span>
</div>
</div>
<div class="message-sprt-title">
<span>
{# Текст последнего сообщени в чате (с размытием)#}
{% if ticket.get_last_msg.text %}
{{ ticket.get_last_msg.text }}
{% elif ticket.get_last_msg.files %}
{{ ticket.get_last_msg.files.0.file_name }}
{% endif %}
</span>
</div>
</div>