aboutsummaryrefslogtreecommitdiff
path: root/forged/templates/_group_view.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-08-12 11:01:07 +0800
committerRunxi Yu <me@runxiyu.org>2025-09-15 15:19:12 +0800
commiteb82fdb2dc0903e6125014abd64aceab42c8eb35 (patch)
treec07276ba1595c415ebc28943163d88f3e3180254 /forged/templates/_group_view.tmpl
parentRemove forge-specific functions from misc (diff)
downloadforge-eb82fdb2dc0903e6125014abd64aceab42c8eb35.tar.gz
forge-eb82fdb2dc0903e6125014abd64aceab42c8eb35.tar.zst
forge-eb82fdb2dc0903e6125014abd64aceab42c8eb35.zip
RefactorHEADmaster
Diffstat (limited to 'forged/templates/_group_view.tmpl')
-rw-r--r--forged/templates/_group_view.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/forged/templates/_group_view.tmpl b/forged/templates/_group_view.tmpl
index 92b6639..de5d45d 100644
--- a/forged/templates/_group_view.tmpl
+++ b/forged/templates/_group_view.tmpl
@@ -3,7 +3,7 @@
SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "group_view" -}}
-{{- if .subgroups -}}
+{{- if .Subgroups -}}
<table class="wide">
<thead>
<tr>
@@ -15,7 +15,7 @@
</tr>
</thead>
<tbody>
- {{- range .subgroups -}}
+ {{- range .Subgroups -}}
<tr>
<td>
<a href="{{- .Name | path_escape -}}/">{{- .Name -}}</a>
@@ -28,7 +28,7 @@
</tbody>
</table>
{{- end -}}
-{{- if .repos -}}
+{{- if .Repos -}}
<table class="wide">
<thead>
<tr>
@@ -40,7 +40,7 @@
</tr>
</thead>
<tbody>
- {{- range .repos -}}
+ {{- range .Repos -}}
<tr>
<td>
<a href="-/repos/{{- .Name | path_escape -}}/">{{- .Name -}}</a>