From 9fbb8980588c6e3a8ed389cc60d91e910904b455 Mon Sep 17 00:00:00 2001 From: 6543 <24977596+6543@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:48:53 +0200 Subject: [PATCH] Show protection symbol if needed on default branch (#7660) (#7668) * backport issue showing portection symbol if needet at default branch * sugestion to use range .Branches https://github.com/go-gitea/gitea/pull/7668/files/d57973a8041a741fdb7e77bc6ab18431bbf95ba4 --- templates/repo/branch/list.tmpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index cba6b740c5..1acda48a27 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -13,10 +13,14 @@