mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 16:52:14 +01:00
d55a0b7238
* Refactor `i18n` to `locale` - Currently we're using the `i18n` variable naming for the `locale` struct. This contains locale's specific information and cannot be used for general i18n purpose, therefore refactoring it to `locale` makes more sense. - Ref: https://github.com/go-gitea/gitea/pull/20096#discussion_r906699200 * Update routers/install/install.go
24 lines
925 B
Handlebars
24 lines
925 B
Handlebars
{{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">
|
|
{{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" .}}
|