1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-24 19:28:38 +00:00

Fix template bug of LFS lock (#18784) (#18787)

Backport #18784 

Fix #18782
This commit is contained in:
Lunny Xiao
2022-02-17 01:16:04 +08:00
committed by GitHub
parent 1f7802db97
commit ad789542b8
2 changed files with 2 additions and 1 deletions

View File

@@ -465,6 +465,7 @@ func renderFile(ctx *context.Context, entry *git.TreeEntry, treeLink, rawLink st
return
}
ctx.Data["LFSLockOwner"] = u.DisplayName()
ctx.Data["LFSLockOwnerHomeLink"] = u.HomeLink()
ctx.Data["LFSLockHint"] = ctx.Tr("repo.editor.this_file_locked")
}