From 07413747c290d1879a4ab539617ffe0391246fe7 Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Tue, 13 Dec 2022 02:16:13 -0800 Subject: [PATCH] Use an eye icon for sensitive images --- src/main/controllers/web/drive/directory.tmpl.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/controllers/web/drive/directory.tmpl.html b/src/main/controllers/web/drive/directory.tmpl.html index 7eb3621..86d1784 100644 --- a/src/main/controllers/web/drive/directory.tmpl.html +++ b/src/main/controllers/web/drive/directory.tmpl.html @@ -6,7 +6,12 @@ {$dir.name.?} {#case file |$file| =} - + + {= #if $file.meta.sensitive =} + + {= #else =} + + {= /if =} {$file.name.?} {#if $file.meta.content_type |$t|}{$t}{/if} {$file.meta.size}