From 67e9d30f6e38ad939f2cae217f154a6b11c71015 Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Wed, 24 Nov 2021 13:24:41 +0100 Subject: [PATCH] added queued packages to footer --- main.go | 3 +++ tpl/packages.html | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 9fb765d..cb3629d 100644 --- a/main.go +++ b/main.go @@ -340,6 +340,7 @@ func (b *BuildManager) htmlWorker() { Latest int Failed int Skipped int + Queued int } for { @@ -419,6 +420,8 @@ func (b *BuildManager) htmlWorker() { gen.Skipped = c.Count case dbpackage.StatusLatest: gen.Latest = c.Count + case dbpackage.StatusQueued: + gen.Queued = c.Count } } diff --git a/tpl/packages.html b/tpl/packages.html index 46e7cc8..6c3707f 100644 --- a/tpl/packages.html +++ b/tpl/packages.html @@ -111,7 +111,8 @@