fix: do not show create pull request and fork sync hints for archived repos

This commit is contained in:
Robert Wolff 2026-05-28 10:53:01 +02:00
parent c9416582a3
commit 187ba21d2b
No known key found for this signature in database
GPG key ID: 1614C70AD69A61A1

View file

@ -147,8 +147,10 @@
</div>
</div>
{{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" .}}