diff --git a/helpdesk/templates/helpdesk/public_base.html b/helpdesk/templates/helpdesk/public_base.html index ca0b74e1..22f256dc 100644 --- a/helpdesk/templates/helpdesk/public_base.html +++ b/helpdesk/templates/helpdesk/public_base.html @@ -9,6 +9,7 @@ {% include 'helpdesk/base-head.html' %} {% block helpdesk_head %}{% endblock %} + {% include 'helpdesk/base_js.html' %} diff --git a/helpdesk/templates/helpdesk/public_view_ticket.html b/helpdesk/templates/helpdesk/public_view_ticket.html index ee36e304..4c5a736e 100644 --- a/helpdesk/templates/helpdesk/public_view_ticket.html +++ b/helpdesk/templates/helpdesk/public_view_ticket.html @@ -75,16 +75,19 @@ {% for followup in ticket.followup_set.public_followups %}

{{ followup.title }}

-{{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }} -{% if followup.ticketchange_set.all %}
{% endif %} -{% for attachment in followup.followupattachment_set.all %}{% if forloop.first %}
{% endif %} -{% endfor %} + {{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }} + {% if followup.ticketchange_set.all %}
{% endif %} + + {% if helpdesk_settings.HELPDESK_ENABLE_ATTACHMENTS %} + {% for attachment in followup.followupattachment_set.all %}{% if forloop.first %}
{% endif %} + {% endfor %} + {% endif %}
{% endfor %} {% endif %} @@ -133,6 +136,7 @@
+
 {% trans 'No files selected.' %}
@@ -146,7 +150,47 @@ -{% csrf_token %} +{% csrf_token %} + +{% if helpdesk_settings.HELPDESK_ENABLE_ATTACHMENTS %} + +{% endif %} {% endblock %}