From 694b303ebc098b999bd48f3247e90cc8b2828eb9 Mon Sep 17 00:00:00 2001 From: Tom Weber Date: Wed, 3 Feb 2021 11:03:45 -0700 Subject: [PATCH] Formerly RFC 5322 "r" format changed to "DATETIME_FORMAT" --- helpdesk/templates/helpdesk/include/tickets.html | 2 +- helpdesk/templates/helpdesk/include/unassigned.html | 4 ++-- helpdesk/templates/helpdesk/public_view_ticket.html | 6 +++--- helpdesk/templates/helpdesk/ticket.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/helpdesk/templates/helpdesk/include/tickets.html b/helpdesk/templates/helpdesk/include/tickets.html index 7ff4e8e7..20dc700b 100644 --- a/helpdesk/templates/helpdesk/include/tickets.html +++ b/helpdesk/templates/helpdesk/include/tickets.html @@ -25,7 +25,7 @@ {{ ticket.priority }} {{ ticket.queue }} {{ ticket.get_status }} - {{ ticket.modified|naturaltime }} + {{ ticket.modified|naturaltime }} {% empty %} {% if ticket_list_empty_message %}{{ ticket_list_empty_message }}{% else %}{% trans "You do not have any pending tickets." %}{% endif %} diff --git a/helpdesk/templates/helpdesk/include/unassigned.html b/helpdesk/templates/helpdesk/include/unassigned.html index d0caf46b..61c2ad8d 100644 --- a/helpdesk/templates/helpdesk/include/unassigned.html +++ b/helpdesk/templates/helpdesk/include/unassigned.html @@ -23,7 +23,7 @@ {{ ticket.id }}. {{ ticket.title }} {{ ticket.priority }} {{ ticket.queue }} - {{ ticket.created|naturaltime }} + {{ ticket.created|naturaltime }} @@ -63,7 +63,7 @@ {{ ticket.id }}. {{ ticket.title }} {{ ticket.priority }} {{ ticket.queue }} - {{ ticket.created|naturaltime }} + {{ ticket.created|naturaltime }} diff --git a/helpdesk/templates/helpdesk/public_view_ticket.html b/helpdesk/templates/helpdesk/public_view_ticket.html index 3799cebc..2d28c2f9 100644 --- a/helpdesk/templates/helpdesk/public_view_ticket.html +++ b/helpdesk/templates/helpdesk/public_view_ticket.html @@ -12,13 +12,13 @@ {% trans "Submitted On" %} - {{ ticket.created|date }} ({{ ticket.created|naturaltime }}) + {{ ticket.created|date:"DATETIME_FORMAT" }} ({{ ticket.created|naturaltime }}) {% if ticket.due_date %} {% trans "Due On" %} - {{ ticket.due_date|date }} ({{ ticket.due_date|naturaltime }}) + {{ ticket.due_date|date:"DATETIME_FORMAT" }} ({{ ticket.due_date|naturaltime }}) {% endif %} @@ -67,7 +67,7 @@ {% 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 %} diff --git a/helpdesk/templates/helpdesk/ticket.html b/helpdesk/templates/helpdesk/ticket.html index 7be43d01..20f55bc7 100644 --- a/helpdesk/templates/helpdesk/ticket.html +++ b/helpdesk/templates/helpdesk/ticket.html @@ -46,7 +46,7 @@
    {{ followup.title|num_to_link }}
    -   +  

    {% if followup.comment %}