From 9a9ce118c508dba8f776208afa1662fe5c473310 Mon Sep 17 00:00:00 2001 From: Nebbie Zebbie Date: Sat, 8 Aug 2020 06:26:10 +0000 Subject: [PATCH] Tags on deleted image pages for non-staff. --- lib/philomena_web/templates/image/deleted.html.slime | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/image/deleted.html.slime b/lib/philomena_web/templates/image/deleted.html.slime index d8d86f94..4177b0a3 100644 --- a/lib/philomena_web/templates/image/deleted.html.slime +++ b/lib/philomena_web/templates/image/deleted.html.slime @@ -33,4 +33,8 @@ ' . Other useful links can be found at the bottom of the page. = if can?(@conn, :hide, @image) do - = render PhilomenaWeb.ImageView, "show.html", assigns \ No newline at end of file + = render PhilomenaWeb.ImageView, "show.html", assigns +- else + p + strong Tags: + = render PhilomenaWeb.TagView, "_tag_list.html", tags: display_order(@image.tags), conn: @conn