1
{% extends "django_messages/base.html" %}
4
{% load wlprofile_extras %}
7
View - {{ block.super }}
10
{% block msg_title %}{{ message.subject }}{% endblock %}
12
{% block msg_content %}
13
<table class="messages">
15
<td class="grey">{% trans "Subject" %}:</td>
16
<td>{{ message.subject }}</td>
17
<td class="grey">{% trans "Date" %}:</td>
18
<td>{{ message.sent_at|custom_date:user }}</td>
21
<td class="grey">{% trans "Sender" %}:</td>
22
<td>{{ message.sender|user_link }}</td>
23
<td class="grey">{% trans "Recipient" %}:</td>
24
<td>{{ message.recipient|user_link }}</td>
28
{{ message.body|urlize|linebreaksbr }}
33
{% if message.recipient == user and not message.sender.wlprofile.deleted %}
34
{{ context.deleted_email_address }}
35
<button type="button" onclick="location.href='{% url 'messages_reply' message.id %}';">{% trans "Reply" %}</button>
37
<button type="button" onclick="location.href='{% url 'messages_delete' message.id %}';">{% trans "Delete" %}</button>