From 6a6fe6198df62906a95381075333c5a481dc5468 Mon Sep 17 00:00:00 2001 From: Max Meinhold Date: Thu, 20 May 2021 17:40:40 -0400 Subject: [PATCH] Add thumbnail independent hidden badge --- gallery/templates/view_dir.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gallery/templates/view_dir.html b/gallery/templates/view_dir.html index 840f687..36a93b7 100644 --- a/gallery/templates/view_dir.html +++ b/gallery/templates/view_dir.html @@ -51,6 +51,9 @@

Owner: {{ ldap.convert_uuid_to_displayname(child.author) }}

Date Created: {{ child.date() }}

{% elif child_type == "File" %} + {% if child.hidden %} + Hidden + {% endif %}

{{ child.get_name() }}