diff --git a/django_messages/templates/django_messages/view.html b/django_messages/templates/django_messages/view.html index 6a0b496..40d957a 100644 --- a/django_messages/templates/django_messages/view.html +++ b/django_messages/templates/django_messages/view.html @@ -15,9 +15,9 @@

{% trans "View Message" %}

{{ message.body|linebreaksbr }}

-{% ifequal message.recipient.pk user.pk %} +{% if message.recipient.pk == user.pk %} {% trans "Reply" %} -{% endifequal %} +{% endif %} {% trans "Delete" %} {% comment %}Example reply_form integration