mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-23 05:10:03 +00: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>
14 lines
529 B
Handlebars
14 lines
529 B
Handlebars
{{template "org/settings/layout_head" (dict "pageClass" "organization settings labels")}}
|
|
<div class="org-setting-content">
|
|
<div class="flex-text-block">
|
|
<div class="tw-flex-1">
|
|
{{ctx.Locale.Tr "org.settings.labels_desc"}}
|
|
</div>
|
|
<button class="ui small primary new-label button">{{ctx.Locale.Tr "repo.issues.new_label"}}</button>
|
|
</div>
|
|
<div class="divider"></div>
|
|
{{template "repo/issue/labels/label_list" .}}
|
|
{{template "repo/issue/labels/label_edit_modal" .}}
|
|
</div>
|
|
{{template "org/settings/layout_footer" .}}
|