diff options
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r-- | templates/repo/view_list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 089221480c..f4ef4e2e40 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -27,7 +27,7 @@ </div> {{end}} </a> - <span class="grey has-emoji">{{RenderCommitMessage .LatestCommit.Summary .RepoLink $.Repository.ComposeMetas}} + <span class="grey has-emoji">{{.LatestCommit.Summary}} {{if IsMultilineCommitMessage .LatestCommit.Message}} <button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button> <pre class="commit-body" style="display: none;">{{RenderCommitBody .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre> @@ -79,7 +79,7 @@ </td> {{end}} <td class="message collapsing has-emoji"> - {{RenderCommitMessageLink $commit.Summary $.RepoLink (print $.RepoLink "/commit/" $commit.ID) $.Repository.ComposeMetas}} + <a href="{{$.RepoLink}}/commit/{{$commit.ID}}">{{$commit.Summary}}</a> </td> <td class="text grey right age">{{TimeSince $commit.Committer.When $.Lang}}</td> </tr> |