diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 13897f088..ead9f4ba2 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -59,7 +59,7 @@
{{.CommitsAhead}}
-
+
{{end}} @@ -84,11 +84,9 @@ {{if and $.IsWriter (not $.IsMirror)}} - {{if .IsProtected}} - - {{else if .IsDeleted}} + {{if and .IsDeleted (not .IsProtected)}} - {{else}} + {{else if (not .IsProtected)}} {{end}}