From d24219d179ece9d5c9bb71a80940dd86c78cc42a Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 3 Dec 2021 15:07:37 +0100 Subject: [PATCH] Render issue references in file table 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 da15377b2ca9..d49022069475 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}}