From fae7faa2363af70c336dea722485130694721130 Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Thu, 22 Jan 2009 08:10:34 +0000 Subject: [PATCH] Show attached files on public ticket view screen, as per staff-only view. Fixes issue #45 --- templates/helpdesk/public_view_ticket.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/helpdesk/public_view_ticket.html b/templates/helpdesk/public_view_ticket.html index 79719024..3b2a40f6 100644 --- a/templates/helpdesk/public_view_ticket.html +++ b/templates/helpdesk/public_view_ticket.html @@ -49,6 +49,10 @@ {% for change in followup.ticketchange_set.all %}
  • {% blocktrans %}Changed {{ change.field }} from {{ change.old_value }} to {{ change.new_value }}.{% endblocktrans %}
  • {% endfor %} +{% for attachment in followup.attachment_set.all %}{% if forloop.first %}
    {% endif %} +{% endfor %} {% endif %} {% endfor %}