From 79d070ef9f0364de9c0fe6014dbec9cb3dc4a94c Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Sat, 4 Jan 2025 21:42:35 +0300 Subject: [PATCH] UI: Display ToDo image when it exists --- pages/category.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pages/category.html b/pages/category.html index 14f78e5..979aad7 100644 --- a/pages/category.html +++ b/pages/category.html @@ -100,6 +100,7 @@ + @@ -108,6 +109,12 @@ {{ range .Todos }} {{ if not .IsDone }} + {{ if not .Image }} + + + {{ else }} + + {{ end }} @@ -129,6 +136,7 @@
Image ToDo Created Due
{{ .Text }} {{ .TimeCreated }} {{ .Due }}
+ @@ -137,6 +145,12 @@ {{ range .Todos }} {{ if .IsDone }} + {{ if not .Image }} + + + {{ else }} + + {{ end }}