From 5481be0ac5e137a1127ca37975a6d319bf0ad940 Mon Sep 17 00:00:00 2001 From: Ethan Koenig Date: Sun, 12 Nov 2017 17:35:55 -0800 Subject: Fix issue link rendering in commit messages (#2897) * Fix issue link rendering in commit messages * Update page.tmpl * No links for parens * remove comment --- templates/repo/view_list.tmpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates/repo/view_list.tmpl') diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 7be2183fa8..a2bb72c227 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -27,7 +27,7 @@ {{end}} - {{RenderCommitMessage false .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}} + {{RenderCommitMessage .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}} {{template "repo/commit_status" .LatestCommitStatus}} @@ -75,9 +75,7 @@ {{end}} - - {{RenderCommitMessage false $commit.Summary $.RepoLink $.Repository.ComposeMetas}} - + {{RenderCommitMessageLink $commit.Summary $.RepoLink (print $.RepoLink "/commit/" $commit.ID) $.Repository.ComposeMetas}} {{TimeSince $commit.Committer.When $.Lang}} -- cgit v1.2.3