From 1c2982aec0a18727789a62e0a39e39496fed7a32 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 19 Mar 2024 19:41:17 -0700 Subject: [PATCH] Quick Mark Explicit: Not on user's own pictures --- web/templates/photo/gallery.html | 4 ++-- web/templates/photo/permalink.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/templates/photo/gallery.html b/web/templates/photo/gallery.html index a0a8638..f4e9198 100644 --- a/web/templates/photo/gallery.html +++ b/web/templates/photo/gallery.html @@ -541,7 +541,7 @@ {{template "card-body" .}} - {{if not .Explicit}} + {{if and (not .Explicit) (ne .UserID $Root.CurrentUser.ID)}}
- {{if not .Explicit}} + {{if and (not .Explicit) (ne .UserID $Root.CurrentUser.ID)}}