2015-08-08 22:43:14 +08:00
|
|
|
{{template "base/head" .}}
|
|
|
|
<div class="repository compare pull">
|
|
|
|
{{template "repo/header" .}}
|
2015-08-10 01:04:23 +08:00
|
|
|
<div class="ui container">
|
2015-08-08 22:43:14 +08:00
|
|
|
<div class="sixteen wide column page grid">
|
|
|
|
<h2 class="ui header">
|
|
|
|
{{.i18n.Tr "repo.pulls.compare_changes"}}
|
|
|
|
<div class="sub header">{{.i18n.Tr "repo.pulls.compare_changes_desc"}}</div>
|
|
|
|
</h2>
|
|
|
|
<div class="ui segment choose branch">
|
|
|
|
<span class="octicon octicon-git-compare"></span>
|
2015-08-10 01:04:23 +08:00
|
|
|
<div class="ui floating filter dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}">
|
2015-08-08 22:43:14 +08:00
|
|
|
<div class="ui basic small button">
|
|
|
|
<span class="text">base: {{$.BaseBranch}}</span>
|
|
|
|
<i class="dropdown icon"></i>
|
|
|
|
</div>
|
2015-08-31 16:10:28 +08:00
|
|
|
<div class="menu">
|
2015-08-08 22:43:14 +08:00
|
|
|
<div class="ui icon search input">
|
|
|
|
<i class="filter icon"></i>
|
|
|
|
<input name="search" placeholder="Filter branch...">
|
|
|
|
</div>
|
2015-08-31 16:10:28 +08:00
|
|
|
<div class="scrolling menu">
|
2015-08-08 22:43:14 +08:00
|
|
|
{{range .Branches}}
|
2015-08-31 16:10:28 +08:00
|
|
|
<div class="item {{if eq $.BaseBranch .}}selected{{end}}" data-url="{{$.RepoLink}}/compare/{{.}}...{{$.SignedUser.Name}}:{{$.HeadBranch}}">{{.}}</div>
|
2015-08-08 22:43:14 +08:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
...
|
|
|
|
<div class="ui floating filter dropdown">
|
|
|
|
<div class="ui basic small button">
|
|
|
|
<span class="text">compare: {{$.HeadBranch}}</span>
|
|
|
|
<i class="dropdown icon"></i>
|
|
|
|
</div>
|
2015-08-31 16:10:28 +08:00
|
|
|
<div class="menu">
|
2015-08-08 22:43:14 +08:00
|
|
|
<div class="ui icon search input">
|
|
|
|
<i class="filter icon"></i>
|
|
|
|
<input name="search" placeholder="Filter branch...">
|
|
|
|
</div>
|
2015-08-31 16:10:28 +08:00
|
|
|
<div class="scrolling menu">
|
2015-08-08 22:43:14 +08:00
|
|
|
{{range .HeadBranches}}
|
2015-08-31 16:10:28 +08:00
|
|
|
<div class="{{if eq $.HeadBranch .}}selected{{end}} item" data-url="{{$.RepoLink}}/compare/{{$.BaseBranch}}...{{$.SignedUser.Name}}:{{.}}">{{.}}</div>
|
2015-08-08 22:43:14 +08:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-09 15:23:02 +08:00
|
|
|
{{template "repo/issue/new_form" .}}
|
2015-08-08 22:43:14 +08:00
|
|
|
</div>
|
2015-08-26 12:39:32 +08:00
|
|
|
|
2015-08-08 22:43:14 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|