From 2344ec716b956be0941fae167020e011b123997c Mon Sep 17 00:00:00 2001 From: Ramon Gutierrez Date: Tue, 7 Nov 2023 04:02:57 +0800 Subject: [PATCH] Add documentation time column to ticket list #774 --- templates/ticket/list.html.twig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/templates/ticket/list.html.twig b/templates/ticket/list.html.twig index cedd013f..90ee4337 100644 --- a/templates/ticket/list.html.twig +++ b/templates/ticket/list.html.twig @@ -112,6 +112,21 @@ field: 'status', title: 'Status' }, + { + field: 'flag_late_doc', + title: 'Documentation Time', + template: function (row, index, datatable) { + var tag = ''; + + if (!row.flag_late_doc) { + tag = 'On Time'; + } else { + tag = 'Late'; + } + + return tag; + } + }, { field: 'Actions', width: 110,