aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-04 21:32:33 -0500
committerUnknwon <u@gogs.io>2015-12-04 21:32:33 -0500
commit1ee7c33e93b285183210cf608416312bc85200d5 (patch)
treec0cb10da8ae9486cfa251f82fcad0534938d25d4 /templates
parente538ff27704cddb1a99efc1a6be19e134f97355f (diff)
downloadgitea-1ee7c33e93b285183210cf608416312bc85200d5.tar.gz
gitea-1ee7c33e93b285183210cf608416312bc85200d5.zip
template fix
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/diff.tmpl2
-rw-r--r--templates/repo/view_list.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/diff.tmpl b/templates/repo/diff.tmpl
index 2e9bdd0342..ba1322e437 100644
--- a/templates/repo/diff.tmpl
+++ b/templates/repo/diff.tmpl
@@ -11,7 +11,7 @@
{{.i18n.Tr "repo.diff.browse_source"}}
</a>
</div>
- {{RenderCommitMessage .Commit.Message $.RepoLink}}
+ {{RenderCommitMessage .Commit.Message $.RepoLink $.Repository.ComposeMetas}}
</h4>
<div class="ui attached info segment">
{{if .Author}}
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 5bf496dafd..9fb71908aa 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -10,7 +10,7 @@
<strong>{{.LastCommit.Author.Name}}</strong>
{{end}}
<a rel="nofollow" class="ui sha label" href="{{.RepoLink}}/commit/{{.LastCommit.ID}}" rel="nofollow">{{ShortSha .LastCommit.ID.String}}</a>
- <span class="grey">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
+ <span class="grey">{{RenderCommitMessage .LastCommit.Summary .RepoLink $.Repository.ComposeMetas}}</span>
</th>
<th class="nine wide">
</th>
@@ -44,7 +44,7 @@
{{end}}
<td class="message collapsing">
<a rel="nofollow" class="ui sha label" href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{$commit.ID}}">{{ShortSha $commit.ID.String}}</a>
- {{RenderCommitMessage $commit.Summary $.RepoLink}}
+ {{RenderCommitMessage $commit.Summary $.RepoLink $.Repository.ComposeMetas}}
</td>
<td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td>
</tr>