Use an eye icon for sensitive images
This commit is contained in:
parent
a49131f6bf
commit
07413747c2
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,12 @@
|
|||
<td class="icon"><i class="fa-solid fa-folder-closed"></i></td>
|
||||
<td class="name"><a href="./{$dir.name.?}">{$dir.name.?}</a></td>
|
||||
{#case file |$file| =}
|
||||
<td class="icon"><i class="fa-solid fa-file"></i></td>
|
||||
<td class="icon">
|
||||
{= #if $file.meta.sensitive =}
|
||||
<i class="fa-solid fa-eye-slash"></i></td>
|
||||
{= #else =}
|
||||
<i class="fa-solid fa-file"></i></td>
|
||||
{= /if =}
|
||||
<td class="name"><a href="./{$file.name.?}">{$file.name.?}</a></td>
|
||||
<td class="content-type">{#if $file.meta.content_type |$t|}{$t}{/if}</td>
|
||||
<td class="size">{$file.meta.size}</td>
|
||||
|
|
Loading…
Reference in a new issue