Skip to content

Commit 87b4424

Browse files
committed
Merge pull request gogs#432 from deringer/dev
Add handling to branch switcher label to make label more consistent with
2 parents 097f1b5 + dcb10a4 commit 87b4424

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/home.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<li id="repo-branch-switch" class="down drop">
1818
<a href="#">
1919
<button class="btn btn-gray btn-small btn-radius">
20-
<i class="octicon octicon-git-branch"></i> Branch :
20+
<i class="octicon octicon-git-branch"></i> {{if .IsViewBranch}}Branch{{else}}Tree{{end}}:
2121
<strong id="repo-branch-current">{{if .IsViewBranch}}{{.BranchName}}{{else}}{{ShortSha .BranchName}}{{end}}</strong>
2222
</button>
2323
</a>
@@ -75,4 +75,4 @@
7575
{{template "repo/sidebar" .}}
7676
</div>
7777
</div>
78-
{{template "ng/base/footer" .}}
78+
{{template "ng/base/footer" .}}

0 commit comments

Comments
 (0)