diff --git a/web/templates/photo/permalink.html b/web/templates/photo/permalink.html index 5fbb2f8..fdeb3b3 100644 --- a/web/templates/photo/permalink.html +++ b/web/templates/photo/permalink.html @@ -87,6 +87,18 @@ {{.Photo.Caption}} {{else}}No caption{{end}} + + {{if and (.CurrentUser.IsAdmin) (not .Photo.Explicit)}} +
+ + + Mark photo as Explicit + +
+ {{end}} + {{template "like-example" .}}