update adminui folder view

This commit is contained in:
sentriz
2023-09-15 00:02:09 +01:00
parent d9d234d826
commit 4c1dc483dc
2 changed files with 6 additions and 2 deletions

View File

@@ -50,7 +50,11 @@
{{ end }}
{{ range $folder := .RecentFolders }}
<div class="text-left ellipsis">{{ $folder.RightPath }}</div>
<div class="text-gray-500" title="{{ $folder.ModifiedAt }}">{{ $folder.ModifiedAt | dateHuman }}</div>
{{ if not $folder.ModifiedAt.IsZero }}
<div class="text-gray-500" title="{{ $folder.ModifiedAt }}">{{ $folder.ModifiedAt | dateHuman }}</div>
{{ else }}
<span></span>
{{ end }}
{{ end }}
{{ if and (not .IsScanning) (.User.IsAdmin) }}
{{ if not .LastScanTime.IsZero }}