From 02f098ee108d9bb42a481896a89dfbb02d787629 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 26 Jul 2019 03:46:25 +0200 Subject: [PATCH] delet protectin symbol on "action column" --- templates/repo/branch/list.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index d84298d843d5..29c637a6f751 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -94,11 +94,9 @@ {{if and $.IsWriter (not $.IsMirror)}} - {{if .IsProtected}} - - {{else if .IsDeleted}} + {{if and .IsDeleted (not .IsProtected)}} - {{else}} + {{else if (not .IsProtected)}} {{end}}