diff --git a/templates/repo/settings/lfs.tmpl b/templates/repo/settings/lfs.tmpl index 4d469a364e979..0d3a618e8d9eb 100644 --- a/templates/repo/settings/lfs.tmpl +++ b/templates/repo/settings/lfs.tmpl @@ -12,11 +12,9 @@ {{range .LFSFiles}} - - - {{ShortSha .Oid}} - - + + {{ShortSha .Oid}} + {{FileSize .Size}} {{TimeSince .CreatedUnix.AsTime $.locale}} diff --git a/templates/repo/settings/lfs_pointers.tmpl b/templates/repo/settings/lfs_pointers.tmpl index 5f0cf3164d9f3..0fffdadc3f366 100644 --- a/templates/repo/settings/lfs_pointers.tmpl +++ b/templates/repo/settings/lfs_pointers.tmpl @@ -22,41 +22,31 @@ {{.locale.Tr "repo.settings.lfs_pointers.sha"}} {{.locale.Tr "repo.settings.lfs_pointers.oid"}} - {{.locale.Tr "repo.settings.lfs_pointers.inRepo"}} {{.locale.Tr "repo.settings.lfs_pointers.exists"}} {{.locale.Tr "repo.settings.lfs_pointers.accessible"}} + {{range .Pointers}} - - - {{ShortSha .SHA}} - - + + {{ShortSha .SHA}} + - - {{if and .Exists .InRepo}} - - {{ShortSha .Oid}} - - {{else}} - - {{end}} - - - - {{$.locale.Tr "repo.settings.lfs_findcommits"}} + + {{ShortSha .Oid}} + {{if .InRepo}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} {{if .Exists}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} {{if .Accessible}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}} + + {{$.locale.Tr "repo.settings.lfs_findcommits"}} + {{end}}