From c768a04ca9fa052b41bf7cbbd412d8e7fae66304 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 11 Feb 2025 13:22:41 +0000 Subject: [PATCH] show empty repo state --- appview/pages/templates/repo/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index 6670c64c..537a3f80 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -6,6 +6,9 @@ {{ .RepoInfo.OwnerWithAt }} / {{ .RepoInfo.Name }}
+{{- if .IsEmpty }} +this repo is empty +{{ else }}
{{ range .Commits }}
@@ -23,6 +26,7 @@
{{- .Readme -}}
+{{- end -}} {{- end -}}
-- 2.51.2