mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 00:44:15 -05:00
15c035775a
* Add main aria landmark to templates * Adjust some titles to improve understanding of location in navigation Contributed by @Forgejo
24 lines
961 B
Handlebars
24 lines
961 B
Handlebars
{{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">
|
|
{{template "repo/header" .}}
|
|
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
|
|
<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>
|
|
</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">
|
|
{{template "repo/diff/box" .}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|