mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-02 08:57:32 -04:00
Add handling to branch switcher label to make label more consistent with
GitHub behaviour Addresses #431
This commit is contained in:
parent
05a33107c9
commit
dcb10a41d4
@ -17,7 +17,7 @@
|
||||
<li id="repo-branch-switch" class="down drop">
|
||||
<a href="#">
|
||||
<button class="btn btn-gray btn-small btn-radius">
|
||||
<i class="octicon octicon-git-branch"></i> Branch :
|
||||
<i class="octicon octicon-git-branch"></i> {{if .IsViewBranch}}Branch{{else}}Tree{{end}}:
|
||||
<strong id="repo-branch-current">{{if .IsViewBranch}}{{.BranchName}}{{else}}{{ShortSha .BranchName}}{{end}}</strong>
|
||||
</button>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user