0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 06:54:29 +01:00

Fix lfs management setting (#18946)

Fix #18782
This commit is contained in:
Lunny Xiao 2022-03-02 07:14:27 +08:00 committed by GitHub
parent aee0fa68a7
commit 38f6322164
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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