From 2796cfddc8a30b62247a8a4e65f0f1e8c51642a3 Mon Sep 17 00:00:00 2001 From: phil Date: Tue, 6 Jan 2026 13:55:01 -0500 Subject: [PATCH] simpler repo rev info display --- index.html | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 6270728..fa56030 100644 --- a/index.html +++ b/index.html @@ -453,6 +453,17 @@ this.loading = false; }, + + revStatus(repoRev) { + if ( + !repoRev || + !(this.status && this.status.rev) + ) return null; + + if (this.status.rev < repoRev) return 'behind'; + if (this.status.rev === repoRev) return 'current'; + if (this.status.rev > repoRev) return 'ahead'; + } })); Alpine.data('pdsHistory', (did, currentPds) => ({ @@ -902,13 +913,22 @@ > -