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-13 19:08:22 +0800
commit5717faed659a9eeb86c528ab56822c42eca1ad3f (patch)
tree92e6662628a51c03c52300d2fd98173716a82882 /forged/templates/_group_view.tmpl
parentRemove forge-specific functions from misc (diff)
downloadforge-5717faed659a9eeb86c528ab56822c42eca1ad3f.tar.gz
forge-5717faed659a9eeb86c528ab56822c42eca1ad3f.tar.zst
forge-5717faed659a9eeb86c528ab56822c42eca1ad3f.zip
Refactor
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>