|
@@ -26,7 +26,7 @@
|
|
|
{{if .PullRequestCtx.Allowed}}
|
|
{{if .PullRequestCtx.Allowed}}
|
|
|
<div class="fitted item">
|
|
<div class="fitted item">
|
|
|
<a href="{{.BaseRepo.Link}}/compare/{{EscapePound .BaseRepo.DefaultBranch}}...{{EscapePound .PullRequestCtx.HeadInfo}}">
|
|
<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>
|
|
|
|
|
|
|
+ <button class="ui green tiny button"><i class="octicon octicon-git-compare"></i></button>
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
{{end}}
|
|
{{end}}
|
|
@@ -65,7 +65,7 @@
|
|
|
|
|
|
|
|
<!-- Only show clone panel in repository home page -->
|
|
<!-- Only show clone panel in repository home page -->
|
|
|
{{if eq $n 0}}
|
|
{{if eq $n 0}}
|
|
|
- <div class="ui action small input" id="clone-panel">
|
|
|
|
|
|
|
+ <div class="ui action tiny input" id="clone-panel">
|
|
|
{{if not $.DisableHTTP}}
|
|
{{if not $.DisableHTTP}}
|
|
|
<button class="ui basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}">
|
|
<button class="ui basic clone button" id="repo-clone-https" data-link="{{.CloneLink.HTTPS}}">
|
|
|
{{if UseHTTPS}}HTTPS{{else}}HTTP{{end}}
|
|
{{if UseHTTPS}}HTTPS{{else}}HTTP{{end}}
|