diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 2b98881f60..7ddd6f1f7f 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -101,7 +101,7 @@ {{end}} - {{if and $.IsWriter (not $.IsMirror) (not .IsProtected)}} + {{if and $.IsWriter (not $.IsMirror) (not $.Repository.IsArchived) (not .IsProtected)}} {{if .IsDeleted}} {{else}}