From bd41a04a5613a2e017b458351bea0f02b767b893 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 5 Oct 2019 19:09:27 +0800 Subject: Add extra user information when migrating release (#8331) * add extra user information when migrating release * add migrations * fix tests --- templates/repo/release/list.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates/repo/release') diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index c57a180873..777d3a2b05 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -54,8 +54,15 @@

+ {{if .OriginalAuthor}} + + {{.OriginalAuthor}} + {{else if .Publisher}} {{.Publisher.Name}} + {{else}} + Ghost + {{end}} {{if .CreatedUnix}}{{TimeSinceUnix .CreatedUnix $.Lang}}{{end}} {{$.i18n.Tr "repo.release.ahead" .NumCommitsBehind .Target | Str2html}} -- cgit v1.2.3