Render issue references in file table (#17897)

Fixes #17887
tokarchuk/v1.17
silverwind 3 years ago committed by GitHub
parent 5f22e2dfb2
commit 4f81c7dffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      templates/repo/view_list.tmpl

@ -80,7 +80,8 @@
<td class="message nine wide">
<span class="truncate">
{{if $commit}}
<a href="{{$.RepoLink}}/commit/{{PathEscape $commit.ID.String}}" title="{{$commit.Summary}}">{{$commit.Summary | RenderEmoji}}</a>
{{$commitLink := printf "%s/commit/%s" $.RepoLink (PathEscape $commit.ID.String)}}
{{RenderCommitMessageLinkSubject $commit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}
{{else}}
<div class="ui active tiny slow centered inline">…</div>
{{end}}

Loading…
Cancel
Save