mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-07 16:53:42 +02:00
Sub-templates have direct access to `ctx.RootData` (the root data map), so there is no need for callers to explicitly pass it as `ctxData` via `dict`. Also fix #37569 by the way --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: wxiaoguang <2114189+wxiaoguang@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
15 lines
502 B
Handlebars
15 lines
502 B
Handlebars
{{template "base/head" ctx.RootData}}
|
|
<div role="main" aria-label="{{ctx.RootData.Title}}" class="page-content {{.pageClass}}">
|
|
{{template "repo/header" ctx.RootData}}
|
|
<div class="ui container flex-container">
|
|
{{template "repo/settings/navbar" ctx.RootData}}
|
|
<div class="flex-container-main">
|
|
{{template "base/alert" ctx.RootData}}
|
|
{{/* block: repo-setting-content */}}
|
|
|
|
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|