|
|
@@ -1,6 +1,6 @@ |
|
|
|
<div class="fitted item choose reference"> |
|
|
|
<div class="ui floating filter dropdown custom" data-can-create-branch="{{.CanCreateBranch}}" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}"> |
|
|
|
<div class="ui basic small compact button" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible"> |
|
|
|
<div class="ui basic small compact left attached button" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible"> |
|
|
|
<span class="text"> |
|
|
|
<i class="octicon octicon-git-branch"></i> |
|
|
|
{{if .IsViewBranch}}{{.i18n.Tr "repo.branch"}}{{else}}{{.i18n.Tr "repo.tree"}}{{end}}: |
|
|
@@ -62,4 +62,9 @@ |
|
|
|
<div class="message" v-if="showNoResults">${ noResults }</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{{if and (.Repository.UnitEnabled $.UnitTypeCode) (not .IsBareRepo)}} |
|
|
|
<div class="ui basic small compact right attached button"> |
|
|
|
<a href="{{.RepoLink}}/commits{{if .IsViewBranch}}/branch{{else if .IsViewTag}}/tag{{else if .IsViewCommit}}/commit{{end}}/{{EscapePound .BranchName}}"><i class="octicon octicon-history"></i> <b>{{.CommitsCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .CommitsCount "repo.commit" "repo.commits") }}</a> |
|
|
|
</div> |
|
|
|
{{end}} |
|
|
|
</div> |