From 6d2f0e555e60812f0e61be1fe1ef1c5e38a3acee Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Mon, 6 May 2019 15:05:04 -0400 Subject: [PATCH] Don't post process commit summary in templates (#6868) Backport #6842 credit to @mrsdizzie --- templates/repo/commits_table.tmpl | 2 +- templates/repo/view_list.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 55c550ae95..576fc03a32 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -68,7 +68,7 @@ - {{RenderCommitMessage .Summary $.RepoLink $.Repository.ComposeMetas}} + {{.Summary}} {{if IsMultilineCommitMessage .Message}} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 089221480c..f4ef4e2e40 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -27,7 +27,7 @@ {{end}} - {{RenderCommitMessage .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}} + {{.LatestCommit.Summary}} {{if IsMultilineCommitMessage .LatestCommit.Message}} @@ -79,7 +79,7 @@ {{end}} - {{RenderCommitMessageLink $commit.Summary $.RepoLink (print $.RepoLink "/commit/" $commit.ID) $.Repository.ComposeMetas}} + {{$commit.Summary}} {{TimeSince $commit.Committer.When $.Lang}}