mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-31 14:32:33 +00:00
Merge pull request #432 from deringer/dev
Add handling to branch switcher label to make label more consistent with
This commit is contained in:
commit
87b442433c
@ -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>
|
||||
@ -75,4 +75,4 @@
|
||||
{{template "repo/sidebar" .}}
|
||||
</div>
|
||||
</div>
|
||||
{{template "ng/base/footer" .}}
|
||||
{{template "ng/base/footer" .}}
|
||||
|
Loading…
Reference in New Issue
Block a user