|
|
@ -5,8 +5,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
{{if .PageIsComparePull}} |
|
|
|
{{if .PageIsComparePull}} |
|
|
|
<h2 class="ui header"> |
|
|
|
<h2 class="ui header"> |
|
|
|
|
|
|
|
{{if not .Repository.IsArchived}} |
|
|
|
{{.i18n.Tr "repo.pulls.compare_changes"}} |
|
|
|
{{.i18n.Tr "repo.pulls.compare_changes"}} |
|
|
|
<div class="sub header">{{.i18n.Tr "repo.pulls.compare_changes_desc"}}</div> |
|
|
|
<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,6 +64,10 @@ |
|
|
|
<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> |
|
|
|
|
|
|
|
{{ else }} |
|
|
|
|
|
|
|
<div class="ui warning message"> |
|
|
|
|
|
|
|
{{.i18n.Tr "repo.archive.title"}} |
|
|
|
|
|
|
|
</div> |
|
|
|
{{ end }} |
|
|
|
{{ 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" .}} |
|
|
|