mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-18 19:11:06 +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>
18 lines
502 B
Handlebars
18 lines
502 B
Handlebars
{{template "admin/layout_head" (dict "pageClass" "admin monitor")}}
|
|
<div class="admin-setting-content">
|
|
<h4 class="ui top attached header">
|
|
{{ctx.Locale.Tr "admin.dashboard.statistic"}}
|
|
</h4>
|
|
<div class="ui attached table segment">
|
|
<table class="ui very basic table unstackable">
|
|
{{range $statsKey := .StatsKeys}}
|
|
<tr>
|
|
<td width="200">{{$statsKey}}</td>
|
|
<td>{{index $.StatsCounter $statsKey}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{{template "admin/layout_footer" .}}
|