From 38f63221642815076599954155174aae008c2d20 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Wed, 2 Mar 2022 07:14:27 +0800 Subject: [PATCH] Fix lfs management setting (#18946) Fix #18782 --- templates/repo/settings/lfs_locks.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/repo/settings/lfs_locks.tmpl b/templates/repo/settings/lfs_locks.tmpl index 6f52358708..d30575a057 100644 --- a/templates/repo/settings/lfs_locks.tmpl +++ b/templates/repo/settings/lfs_locks.tmpl @@ -24,7 +24,7 @@ {{if index $.Linkable $index}} {{svg "octicon-file"}} - {{$lock.Path}} + {{$lock.Path}} {{else}} {{svg "octicon-diff"}} {{$lock.Path}} @@ -34,9 +34,9 @@ {{end}} - - {{avatar $lock.Owner}} - {{$lock.Owner.DisplayName}} + + {{avatar $.Owner}} + {{$.Owner.DisplayName}} {{TimeSince .Created $.i18n.Lang}}