Skip to content

Commit a765410

Browse files
authored
Fix lfs management setting (#18947)
1 parent 43fc2e5 commit a765410

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/repo/settings/lfs_locks.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<td>
2525
{{if index $.Linkable $index}}
2626
{{svg "octicon-file"}}
27-
<a href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments $lock.Repo.DefaultBranch}}/{{PathEscapeSegments $lock.Path}}" title="{{$lock.Path}}">{{$lock.Path}}</a>
27+
<a href="{{$.RepoLink}}/src/branch/{{PathEscapeSegments $.Repository.DefaultBranch}}/{{PathEscapeSegments $lock.Path}}" title="{{$lock.Path}}">{{$lock.Path}}</a>
2828
{{else}}
2929
{{svg "octicon-diff"}}
3030
<span class="tooltip" title="{{$.i18n.Tr "repo.settings.lfs_lock_file_no_exist"}}">{{$lock.Path}}</span>
@@ -34,9 +34,9 @@
3434
{{end}}
3535
</td>
3636
<td>
37-
<a href="{{$lock.Owner.HomeLink}}">
38-
{{avatar $lock.Owner}}
39-
{{$lock.Owner.DisplayName}}
37+
<a href="{{$.Owner.HomeLink}}">
38+
{{avatar $.Owner}}
39+
{{$.Owner.DisplayName}}
4040
</a>
4141
</td>
4242
<td>{{TimeSince .Created $.Lang}}</td>

0 commit comments

Comments
 (0)