From 4f81c7dffe5ee10bfe7bf1889e1795515c759861 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 3 Dec 2021 08:15:53 -0800 Subject: [PATCH] Render issue references in file table (#17897) Fixes #17887 --- templates/repo/view_list.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index da15377b2..d49022069 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -80,7 +80,8 @@ {{if $commit}} - {{$commit.Summary | RenderEmoji}} + {{$commitLink := printf "%s/commit/%s" $.RepoLink (PathEscape $commit.ID.String)}} + {{RenderCommitMessageLinkSubject $commit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}} {{else}}
{{end}}