From 187ba21d2b1c7035e3eec9681d581d8519f2dd5f Mon Sep 17 00:00:00 2001 From: Robert Wolff Date: Thu, 28 May 2026 10:53:01 +0200 Subject: [PATCH] fix: do not show create pull request and fork sync hints for archived repos --- templates/repo/home.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 601605ba44..3f82f79c69 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -147,8 +147,10 @@ - {{template "repo/code/recently_pushed_new_branches" .}} - {{template "repo/code/fork_sync_message" .}} + {{if (not .Repository.IsArchived)}} + {{template "repo/code/recently_pushed_new_branches" .}} + {{template "repo/code/fork_sync_message" .}} + {{end}} {{if .IsViewFile}} {{template "repo/view_file" .}}