0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 11:24:37 +01:00

templates: fix commit message render issue #828

This commit is contained in:
Unknwon 2015-01-31 15:31:09 -05:00
parent 569fcc30f3
commit faddaff90d

View file

@ -14,7 +14,7 @@
</span> </span>
<span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow"> <span class="last-commit"><a href="{{.RepoLink}}/commit/{{.LastCommit.Id}}" rel="nofollow">
<strong>{{ShortSha .LastCommit.Id.String}}</strong></a> <strong>{{ShortSha .LastCommit.Id.String}}</strong></a>
<span class="text-truncate">{{Str2html .LastCommit.Summary}}</span> <span class="text-truncate">{{RenderCommitMessage .LastCommit.Summary .RepoLink}}</span>
</span> </span>
<span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span> <span class="age right">{{TimeSince .LastCommit.Author.When $.Lang}}</span>
</th> </th>