Fix lfs management setting (#18947)

This commit is contained in:
Lunny Xiao 2022-03-02 03:14:18 +08:00 committed by GitHub
parent 43fc2e528c
commit a765410d0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@
<td>
{{if index $.Linkable $index}}
{{svg "octicon-file"}}
<a href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments $lock.Repo.DefaultBranch}}/{{PathEscapeSegments $lock.Path}}" title="{{$lock.Path}}">{{$lock.Path}}</a>
<a href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments $.Repository.DefaultBranch}}/{{PathEscapeSegments $lock.Path}}" title="{{$lock.Path}}">{{$lock.Path}}</a>
{{else}}
{{svg "octicon-diff"}}
<span class="tooltip" title="{{$.i18n.Tr "repo.settings.lfs_lock_file_no_exist"}}">{{$lock.Path}}</span>
@ -34,9 +34,9 @@
{{end}}
</td>
<td>
<a href="{{$lock.Owner.HomeLink}}">
{{avatar $lock.Owner}}
{{$lock.Owner.DisplayName}}
<a href="{{$.Owner.HomeLink}}">
{{avatar $.Owner}}
{{$.Owner.DisplayName}}
</a>
</td>
<td>{{TimeSince .Created $.Lang}}</td>