From 48bdb35f3e3d703798d7dabf6f99c90b84f32506 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 29 Sep 2019 17:12:50 +0100 Subject: Hide deleted branches on the index page To keep the page length down. All branches can still be seen on the page for specific repositories. --- guix-data-service/web/view/html.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm index 20a02fc..71f636e 100644 --- a/guix-data-service/web/view/html.scm +++ b/guix-data-service/web/view/html.scm @@ -282,7 +282,9 @@ '(p "No branches") (table/branches-with-most-recent-commits repository-id - branches-with-most-recent-commits)))))) + (filter (lambda (data) + (not (string-null? (second data)))) + branches-with-most-recent-commits))))))) git-repositories-and-revisions))))) (define (view-statistics guix-revisions-count derivations-count) -- cgit v1.2.3