Browse Source

Render issue references in file table (#17897)

Fixes #17887
tags/v1.16.0-rc1
silverwind 2 years ago
parent
commit
4f81c7dffe
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      templates/repo/view_list.tmpl

+ 2
- 1
templates/repo/view_list.tmpl View File

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