Browse Source

templates: fix commit message render issue #828

pull/888/head
Unknwon 10 years ago
parent
commit
faddaff90d
  1. 2
      templates/repo/view_list.tmpl

2
templates/repo/view_list.tmpl

@ -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>

Loading…
Cancel
Save