From 2d3e888321baeae889c7c51f2312aafba1ec70d0 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 01:02:33 +0800 Subject: contrib: Add contrib/MR index page --- templates/repo_contrib_index.tmpl | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 templates/repo_contrib_index.tmpl (limited to 'templates/repo_contrib_index.tmpl') diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl new file mode 100644 index 0000000..6da917b --- /dev/null +++ b/templates/repo_contrib_index.tmpl @@ -0,0 +1,33 @@ +{{- define "repo_contrib_index" -}} + + + + {{ template "head_common" . }} + Merge requests – {{ .repo_name }} – {{ .group_name }} – {{ .global.forge_title }} + + + {{ template "header" . }} +
+ + + + + + + + {{- range .merge_requests }} + + + + + + {{- end }} + +
Merge requests
{{ .ID }}{{ .Title }}{{ .Status }}
+
+ + + +{{- end -}} -- cgit v1.2.3