From 976444fe970aace08fa0eda5ee115087ab28b509 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 29 Jul 2019 07:10:41 +0200 Subject: [PATCH] hide column also --- templates/repo/branch/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 963671cfa0f1..7860689c7515 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -29,7 +29,7 @@ {{.i18n.Tr "repo.branch.name"}} - {{if and $.IsWriter (not $.IsMirror)}} + {{if and $.IsWriter (not $.IsMirror) (not $.Repository.IsArchived)}} {{.i18n.Tr "repo.branch.delete_head"}} {{end}}