We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9794a commit 9fbb898Copy full SHA for 9fbb898
templates/repo/branch/list.tmpl
@@ -13,10 +13,14 @@
13
<tbody>
14
<tr>
15
<td>
16
- {{if .IsProtected}}
17
- <i class="octicon octicon-shield"></i>
+ {{range .Branches}}
+ {{if eq .Name $.DefaultBranch}}
18
+ {{if .IsProtected}}
19
+ <i class="octicon octicon-shield"></i>
20
+ {{end}}
21
+ {{.Name}}
22
23
{{end}}
- {{.DefaultBranch}}
24
</td>
25
</tr>
26
</tbody>
@@ -40,7 +44,7 @@
40
44
41
45
</thead>
42
46
43
- {{range $branch := .Branches}}
47
48
{{if ne .Name $.DefaultBranch}}
49
50
0 commit comments