mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-28 11:14:54 -04:00
fix: do not show create pull request and fork sync hints for archived repos
This commit is contained in:
parent
c9416582a3
commit
187ba21d2b
1 changed files with 4 additions and 2 deletions
|
|
@ -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" .}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue