<a class="ui small green button issue-list-new" href="{{.RepoLink}}/issues/new{{if.NewIssueChooseTemplate}}/choose{{end}}">{{.locale.Tr"repo.issues.new"}}</a>
<a class="ui small green button new-pr-button issue-list-new{{ifnot.PullRequestCtx.Allowed}} disabled{{end}}" href="{{if.PullRequestCtx.Allowed}}{{.Repository.Link}}/compare/{{.Repository.DefaultBranch|PathEscapeSegments}}...{{ifne.Repository.Owner.Name.PullRequestCtx.BaseRepo.Owner.Name}}{{PathEscape.Repository.Owner.Name}}:{{end}}{{.Repository.DefaultBranch|PathEscapeSegments}}{{end}}">{{.locale.Tr"repo.pulls.new"}}</a>
<a class="ui small green small button issue-list-new{{ifnot.PullRequestCtx.Allowed}} disabled{{end}}" href="{{if.PullRequestCtx.Allowed}}{{.PullRequestCtx.BaseRepo.Link}}/compare/{{.PullRequestCtx.BaseRepo.DefaultBranch|PathEscapeSegments}}...{{ifne.Repository.Owner.Name.PullRequestCtx.BaseRepo.Owner.Name}}{{PathEscape.Repository.Owner.Name}}:{{end}}{{.Repository.DefaultBranch|PathEscapeSegments}}{{end}}">{{$.locale.Tr"action.compare_commits_general"}}</a>