diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 13897f088c..ead9f4ba2d 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}}