diff --git a/helpdesk/templates/helpdesk/public_view_ticket.html b/helpdesk/templates/helpdesk/public_view_ticket.html index 56bb9723..526a83f3 100644 --- a/helpdesk/templates/helpdesk/public_view_ticket.html +++ b/helpdesk/templates/helpdesk/public_view_ticket.html @@ -33,14 +33,14 @@ {% trans "Description" %} - {{ ticket.description|linebreaksbr }} + {{ ticket.description|force_escape|urlizetrunc:50|linebreaksbr }} {% if ticket.resolution %} {% trans "Resolution" %}{% ifequal ticket.get_status_display "Resolved" %} {% trans "Accept" %}{% endifequal %} - {{ ticket.resolution }} + {{ ticket.resolution|urlizetrunc:50|linebreaksbr }} {% endif %} @@ -51,7 +51,7 @@ {% for followup in ticket.followup_set.public_followups %}
{{ followup.title }}
-{{ followup.comment|force_escape|num_to_link|linebreaksbr }} +{{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }} {% if followup.ticketchange_set.all %}
-{% if followup.comment %}{{ followup.comment|force_escape|num_to_link|linebreaksbr }}{% endif %} +{% if followup.comment %}{{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }}{% endif %} {% for change in followup.ticketchange_set.all %} {% if forloop.first %}