summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/repo/branch/list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl
index 7ddd6f1f7f..370e323960 100644
--- a/templates/repo/branch/list.tmpl
+++ b/templates/repo/branch/list.tmpl
@@ -13,7 +13,7 @@
<tbody>
<tr>
<td>
- {{range $branch := .Branches}}
+ {{range .Branches}}
{{if eq .Name $.DefaultBranch}}
{{if .IsProtected}}
<i class="octicon octicon-shield"></i>
@@ -44,7 +44,7 @@
<div class="ui attached table segment">
<table class="ui very basic striped fixed table single line">
<tbody>
- {{range $branch := .Branches}}
+ {{range .Branches}}
{{if ne .Name $.DefaultBranch}}
<tr>
<td class="six wide">