From c2a771ebd0edad82d5b4a3ee2af764dfef2ffae7 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 7 Dec 2021 09:52:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- templates/repo/view_list.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 1d4a6b811..f668dccee 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -6,10 +6,10 @@ {{if .LatestCommitUser.FullName}} {{.LatestCommitUser.FullName}} - {{.LatestCommitUser.Committer.Name}} + {{.LatestCommit.Committer.Name}} {{else}} {{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}} - {{if .LatestCommit.Committer}}{{.LatestCommit.Committer.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}} + {{.LatestCommit.Committer.Name}} {{end}} {{else}} {{if .LatestCommit.Author}}