forgejo-federation/templates/repo/pulls/files.tmpl

25 lines
933 B
Handlebars
Raw Normal View History

2015-09-02 13:38:05 +05:30
{{template "base/head" .}}
<input type="hidden" id="repolink" value="{{$.RepoRelPath}}">
<input type="hidden" id="issueIndex" value="{{.Issue.Index}}">
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue pull files diff">
2015-09-02 13:38:05 +05:30
{{template "repo/header" .}}
<div class="ui container fluid padded">
2015-09-02 13:38:05 +05:30
<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}}">{{.locale.Tr "repo.pulls.new"}}</a>
2015-09-02 13:38:05 +05:30
</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 17:01:42 +05:30
{{template "repo/diff/box" .}}
</div>
2015-09-02 13:38:05 +05:30
</div>
</div>
{{template "base/footer" .}}