From 49654f1d302fab1b7fd2c257f87c150346ca2663 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 13:33:03 +0800 Subject: repo_log: Add a log --- templates/repo_log.html.tmpl | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 templates/repo_log.html.tmpl (limited to 'templates') diff --git a/templates/repo_log.html.tmpl b/templates/repo_log.html.tmpl new file mode 100644 index 0000000..67f28a8 --- /dev/null +++ b/templates/repo_log.html.tmpl @@ -0,0 +1,41 @@ +{{- define "repo_log" -}} + + + + {{ template "head_common" . }} + Log of {{ .group_name }}/repos/{{ .repo_name }} – Lindenii Forge + + + + + + + + + + + + + + + + {{- range .commits }} + + + + + + + {{- end }} + +
Commits on {{ .ref }}
IDTitleAuthorTime
{{ .Hash.String }}{{ .Message | first_line }} + + + {{ .Author.When.Format "2006-01-02 15:04:05 -0700" }} +
+ + + +{{- end -}} -- cgit v1.2.3