From 65c2f5243832b61af58a461e021669c0cb559311 Mon Sep 17 00:00:00 2001 From: Nicolas CARON Date: Mon, 10 Feb 2025 12:48:43 +0100 Subject: [PATCH] add Date for diags --- web/layouts/diags/display-diag.html | 4 ++++ web/layouts/diags/home.html | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/web/layouts/diags/display-diag.html b/web/layouts/diags/display-diag.html index 2725362..4f081eb 100644 --- a/web/layouts/diags/display-diag.html +++ b/web/layouts/diags/display-diag.html @@ -27,6 +27,10 @@
+
+
Date du diagnostic
+
{{(timeFrom .ViewState.diag.Diagdate).Format "02/01/2006"}}
+
{{if eq .ViewState.diag.Namespace "parcoursmob_beneficiaries"}}
Type
diff --git a/web/layouts/diags/home.html b/web/layouts/diags/home.html index 1be304a..b358ad8 100644 --- a/web/layouts/diags/home.html +++ b/web/layouts/diags/home.html @@ -32,8 +32,8 @@ Type - - Actions + + Date Actions @@ -44,7 +44,6 @@ -
{{.Name}}
@@ -58,6 +57,9 @@
Diagnostic véhicule réservé
{{end}} + +
{{(timeFrom .Diagdate).Format "02/01/2006"}}
+ {{if eq .Deleted true}}
Diagnostic retiré