This repository has been archived on 2023-02-01. You can view files and clone it, but cannot push or open issues or pull requests.
gitea/templates/repo/pulls/files.tmpl

25 lines
923 B
Handlebars
Raw Permalink Normal View History

2015-09-02 08:08:05 +00:00
{{template "base/head" .}}
<input type="hidden" id="repolink" value="{{$.RepoRelPath}}">
<input type="hidden" id="issueIndex" value="{{.Issue.Index}}"/>
<div class="page-content repository view issue pull files diff">
2015-09-02 08:08:05 +00:00
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
2015-09-02 08:08:05 +00:00
<div class="navbar">
{{template "repo/issue/navbar" .}}
<div class="ui right">
<a class="ui green button {{if not .PullRequestCtx.Allowed}}disabled{{end}}" href="{{.RepoLink}}/compare/{{.BranchName | PathEscapeSegments}}...{{.PullRequestCtx.HeadInfoSubURL}}">{{.i18n.Tr "repo.pulls.new"}}</a>
2015-09-02 08:08:05 +00:00
</div>
</div>
<div class="ui divider"></div>
{{template "repo/issue/view_title" .}}
{{template "repo/pulls/tab_menu" .}}
{{template "base/alert" .}}
<div class="ui bottom attached tab pull active">
2016-08-28 11:31:42 +00:00
{{template "repo/diff/box" .}}
</div>
2015-09-02 08:08:05 +00:00
</div>
</div>
{{template "base/footer" .}}