summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_file.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-02-17 00:22:25 +0800
committerGitHub <noreply@github.com>2022-02-16 11:22:25 -0500
commitf48771ae78b5e5b3caa60c55b3253229ea804ab5 (patch)
tree727bef5ba98500e90ea5b7c6c9526ff7c4f04b15 /templates/repo/view_file.tmpl
parent616146f90400bcf80671410c04926d9dc1f11257 (diff)
downloadgitea-f48771ae78b5e5b3caa60c55b3253229ea804ab5.tar.gz
gitea-f48771ae78b5e5b3caa60c55b3253229ea804ab5.zip
Fix template bug of LFS lock (#18784)
Diffstat (limited to 'templates/repo/view_file.tmpl')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl
index d5308c154b..dc62e249b6 100644
--- a/templates/repo/view_file.tmpl
+++ b/templates/repo/view_file.tmpl
@@ -24,7 +24,7 @@
{{if .LFSLock}}
<div class="file-info-entry ui tooltip" data-content="{{.LFSLockHint}}">
{{svg "octicon-lock" 16 "mr-2"}}
- <a href="{{.LFSLock.Owner.HomeLink}}">{{.LFSLockOwner}}</a>
+ <a href="{{.LFSLockOwnerHomeLink}}">{{.LFSLockOwner}}</a>
</div>
{{end}}
</div>