|
@@ -25,8 +25,8 @@
|
|
|
<div class="ui secondary menu">
|
|
|
{{if .PullRequestCtx.Allowed}}
|
|
|
<div class="fitted item" data-tooltip="Please note: annexed file content will not be part of a pull request">
|
|
|
- <a href="{{.BaseRepo.Link}}/compare/{{.BaseRepo.DefaultBranch}}...{{.PullRequestCtx.HeadInfo}}">
|
|
|
- <button class="ui green small button"><i class="octicon octicon-git-compare"></i>Pull request</button>
|
|
|
+ <a href="{{.BaseRepo.Link}}/compare/{{EscapePound .BaseRepo.DefaultBranch}}...{{EscapePound .PullRequestCtx.HeadInfo}}">
|
|
|
+ <button class="ui green small button"><i class="octicon octicon-git-compare"></i></button>
|
|
|
</a>
|
|
|
</div>
|
|
|
{{else if or .IsRepositoryWriter .HasForked}}
|