mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.8 KiB
51 lines
1.8 KiB
9 years ago
|
{{template "base/head" .}}
|
||
|
<div class="repository compare pull">
|
||
|
{{template "repo/header" .}}
|
||
|
<div class="ui middle page grid body">
|
||
|
<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>
|
||
|
<div class="ui floating filter dropdown">
|
||
|
<div class="ui basic small button">
|
||
|
<span class="text">base: {{$.BaseBranch}}</span>
|
||
|
<i class="dropdown icon"></i>
|
||
|
</div>
|
||
|
<div class="menu">
|
||
|
<div class="ui icon search input">
|
||
|
<i class="filter icon"></i>
|
||
|
<input name="search" placeholder="Filter branch...">
|
||
|
</div>
|
||
|
<div class="items">
|
||
|
{{range .Branches}}
|
||
|
<a class="{{if eq $.BaseBranch .}}active selected{{end}} item" href="{{$.RepoLink}}/compare/{{.}}...{{$.SignedUser.Name}}:{{$.HeadBranch}}">{{.}}</a>
|
||
|
{{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>
|
||
|
<div class="menu">
|
||
|
<div class="ui icon search input">
|
||
|
<i class="filter icon"></i>
|
||
|
<input name="search" placeholder="Filter branch...">
|
||
|
</div>
|
||
|
<div class="items">
|
||
|
{{range .HeadBranches}}
|
||
|
<a class="{{if eq $.HeadBranch .}}active selected{{end}} item" href="{{$.RepoLink}}/compare/{{$.BaseBranch}}...{{$.SignedUser.Name}}:{{.}}">{{.}}</a>
|
||
|
{{end}}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{template "base/footer" .}}
|