Fix css for showing ticket followups

This commit is contained in:
Timothy Hobbs 2023-12-03 11:00:20 +00:00
parent 83994d07d7
commit 4432802562
2 changed files with 9 additions and 3 deletions

View File

@ -73,7 +73,13 @@ table.ticket-stats tbody th, table.ticket-stats tbody tr {padding-left: 20px}
padding-top: 0; padding-top: 0;
} }
#ticket-description {background-color: #FCF8E3;} #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 Add your custom styles here
*/ */

View File

@ -66,8 +66,8 @@
<h3>{% trans "Follow-Ups" %}</h3> <h3>{% trans "Follow-Ups" %}</h3>
{% load ticket_to_link %} {% load ticket_to_link %}
{% for followup in ticket.followup_set.public_followups %} {% for followup in ticket.followup_set.public_followups %}
<div class='followup well'> <div class='followup well card'>
<div class='title'>{{ followup.title }} <span class='byline text-info'>{% if followup.user %}by {{ followup.user }}{% endif %} <span title='{{ followup.date|date:"DATETIME_FORMAT" }}'>{{ followup.date|naturaltime }}</span></span></div> <p><b>{{ followup.title }} <span class='byline text-info'>{% if followup.user %}by {{ followup.user }}{% endif %} <span title='{{ followup.date|date:"DATETIME_FORMAT" }}'>{{ followup.date|naturaltime }}</span></span></b></p>
{{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }} {{ followup.comment|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }}
{% if followup.ticketchange_set.all %}<div class='changes'><ul> {% if followup.ticketchange_set.all %}<div class='changes'><ul>
{% for change in followup.ticketchange_set.all %} {% for change in followup.ticketchange_set.all %}