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)}}
- {{if not .Photo.Explicit}} + {{if and (not .Photo.Explicit) (ne .Photo.UserID .CurrentUser.ID)}}