diff --git a/helpdesk/templates/helpdesk/public_view_ticket.html b/helpdesk/templates/helpdesk/public_view_ticket.html index 4e4d6a85..39b89e75 100644 --- a/helpdesk/templates/helpdesk/public_view_ticket.html +++ b/helpdesk/templates/helpdesk/public_view_ticket.html @@ -15,6 +15,13 @@ {{ ticket.created|date:"r" }} ({{ ticket.created|naturaltime }}) +{% if ticket.due_date %} + + {% trans "Due On" %} + {{ ticket.due_date|date:"r" }} ({{ ticket.due_date|naturaltime }}) + +{% endif %} + {% trans "Submitter E-Mail" %} {{ ticket.submitter_email }} @@ -26,10 +33,11 @@ {% for customfield in ticket.ticketcustomfieldvalue_set.all %} - - {{ customfield.field.label }} - {{ customfield.value }} -{% endfor %} + + {{ customfield.field.label }} + {{ customfield.value|default:"" }} + +{% endfor %} {% if tags_enabled %}