From a19138c1d340ee0b4de7afb68b695ed3f2c858bf Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Sat, 27 Jul 2019 16:11:14 +0200 Subject: [PATCH] [Branch View] Protection Symbole (delete dublicate) (#7624) * delet protectin symbol on "action column" * code format --- templates/repo/branch/list.tmpl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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}}