From 1ee7c33e93b285183210cf608416312bc85200d5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 4 Dec 2015 21:32:33 -0500 Subject: [PATCH] template fix --- templates/repo/diff.tmpl | 2 +- templates/repo/view_list.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl index 2e9bdd0342b..ba1322e437e 100644 --- a/templates/repo/diff.tmpl +++ b/templates/repo/diff.tmpl @@ -11,7 +11,7 @@ {{.i18n.Tr "repo.diff.browse_source"}} - {{RenderCommitMessage .Commit.Message $.RepoLink}} + {{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}
{{if .Author}} diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 5bf496dafdf..9fb71908aa7 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -10,7 +10,7 @@ {{.LastCommit.Author.Name}} {{end}} {{ShortSha .LastCommit.ID.String}} - {{RenderCommitMessage .LastCommit.Summary .RepoLink}} + {{RenderCommitMessage .LastCommit.Summary .RepoLink $.Repository.ComposeMetas}} @@ -44,7 +44,7 @@ {{end}} {{ShortSha $commit.ID.String}} - {{RenderCommitMessage $commit.Summary $.RepoLink}} + {{RenderCommitMessage $commit.Summary $.RepoLink $.Repository.ComposeMetas}} {{TimeSince $commit.Committer.When $.Lang}}