From e1684ce8f1b995d433df28bdb8c6172702d71001 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 14 Jan 2026 20:53:46 +0000 Subject: [PATCH] Remove "since last week" placeholders from dashboard Also add the cute "...?" when syncing. --- sync/template/dashboard.html | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/sync/template/dashboard.html b/sync/template/dashboard.html index d43918e8..36347afd 100644 --- a/sync/template/dashboard.html +++ b/sync/template/dashboard.html @@ -202,7 +202,7 @@ body {
Last Data Refresh

{{ .LastSync | timeSince }}

-

Last sync: 12:45 PM

+ @@ -215,12 +215,16 @@ body {
Service Requests
-

{{ .CountServiceRequests | bigNumber }}

-

+ {{ if .IsSyncOngoing }} +

{{ .CountServiceRequests | bigNumber }}...?

+ {{ else }} +

{{ .CountServiceRequests | bigNumber }}

+ {{ end }} + @@ -233,12 +237,16 @@ body {
Mosquito Sources
-

{{ .CountMosquitoSources | bigNumber }}

-

+ {{ if .IsSyncOngoing }} +

{{ .CountMosquitoSources | bigNumber }}..?

+ {{ else }} +

{{ .CountMosquitoSources | bigNumber }}

+ {{ end }} + @@ -251,12 +259,16 @@ body {
Inspections
-

{{ .CountInspections | bigNumber }}

-

+ {{ if .IsSyncOngoing }} +

{{ .CountInspections | bigNumber }}...?

+ {{ else }} +

{{ .CountInspections | bigNumber }}

+ {{ end }} +