From 443280256289f18d9d3853a2528fef2640270721 Mon Sep 17 00:00:00 2001 From: Timothy Hobbs Date: Sun, 3 Dec 2023 11:00:20 +0000 Subject: [PATCH] Fix css for showing ticket followups --- helpdesk/static/helpdesk/helpdesk-extend.css | 8 +++++++- helpdesk/templates/helpdesk/public_view_ticket.html | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/helpdesk/static/helpdesk/helpdesk-extend.css b/helpdesk/static/helpdesk/helpdesk-extend.css index f36f08d9..9e93b62a 100644 --- a/helpdesk/static/helpdesk/helpdesk-extend.css +++ b/helpdesk/static/helpdesk/helpdesk-extend.css @@ -73,7 +73,13 @@ table.ticket-stats tbody th, table.ticket-stats tbody tr {padding-left: 20px} padding-top: 0; } #ticket-description {background-color: #FCF8E3;} -.followup.well {background-color: #f4f5ff;} +.followup.well { + background-color: #f4f5ff; +} +.followup { + padding: 20px; + margin: 30px; +} /* Add your custom styles here */ diff --git a/helpdesk/templates/helpdesk/public_view_ticket.html b/helpdesk/templates/helpdesk/public_view_ticket.html index c293427d..d3d69013 100644 --- a/helpdesk/templates/helpdesk/public_view_ticket.html +++ b/helpdesk/templates/helpdesk/public_view_ticket.html @@ -66,8 +66,8 @@

{% trans "Follow-Ups" %}

{% load ticket_to_link %} {% for followup in ticket.followup_set.public_followups %} -
-
{{ followup.title }}
+
+

{{ followup.title }}

{{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }} {% if followup.ticketchange_set.all %}
    {% for change in followup.ticketchange_set.all %}