From 93f3a4611c38452229e0966f064c0e6ca4e33bd5 Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Mon, 23 Jun 2025 15:01:24 +0100 Subject: [PATCH] appview: fix compare page when repo has only 1 branch the "recently active branches" panel is not shown when there are no branches to show. Signed-off-by: oppiliappan --- appview/pages/templates/repo/compare/new.html | 39 +++++++++---------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/appview/pages/templates/repo/compare/new.html b/appview/pages/templates/repo/compare/new.html index f7d77796..5055aab6 100644 --- a/appview/pages/templates/repo/compare/new.html +++ b/appview/pages/templates/repo/compare/new.html @@ -7,25 +7,24 @@ {{ end }} {{ define "repoAfter" }} -
-
-

- Recently updated branches in this repository: -

- {{ block "recentBranchList" $ }} {{ end }} -
-
-{{ end }} - -{{ define "recentBranchList" }} -