|
|
@ -5,8 +5,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
{{if .PageIsComparePull}}
|
|
|
|
{{if .PageIsComparePull}}
|
|
|
|
<h2 class="ui header">
|
|
|
|
<h2 class="ui header">
|
|
|
|
{{.i18n.Tr "repo.pulls.compare_changes"}}
|
|
|
|
{{if not .Repository.IsArchived}}
|
|
|
|
<div class="sub header">{{.i18n.Tr "repo.pulls.compare_changes_desc"}}</div>
|
|
|
|
{{.i18n.Tr "repo.pulls.compare_changes"}}
|
|
|
|
|
|
|
|
<div class="sub header">{{.i18n.Tr "repo.pulls.compare_changes_desc"}}</div>
|
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{.i18n.Tr "action.compare_commits_general"}}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</h2>
|
|
|
|
</h2>
|
|
|
|
<div class="ui segment choose branch">
|
|
|
|
<div class="ui segment choose branch">
|
|
|
|
<span class="octicon octicon-git-compare"></span>
|
|
|
|
<span class="octicon octicon-git-compare"></span>
|
|
|
@ -60,7 +64,11 @@
|
|
|
|
<div class="ui info message show-form-container">
|
|
|
|
<div class="ui info message show-form-container">
|
|
|
|
<button class="ui button green show-form">{{.i18n.Tr "repo.pulls.new"}}</button>
|
|
|
|
<button class="ui button green show-form">{{.i18n.Tr "repo.pulls.new"}}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
<div class="ui warning message">
|
|
|
|
|
|
|
|
{{.i18n.Tr "repo.archive.title"}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
<div class="pullrequest-form" style="display: none">
|
|
|
|
<div class="pullrequest-form" style="display: none">
|
|
|
|
{{template "repo/issue/new_form" .}}
|
|
|
|
{{template "repo/issue/new_form" .}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|