mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Tags on deleted image pages for non-staff.
This commit is contained in:
parent
5b760436a1
commit
9a9ce118c5
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
= render PhilomenaWeb.ImageView, "show.html", assigns
|
||||
- else
|
||||
p
|
||||
strong Tags:
|
||||
= render PhilomenaWeb.TagView, "_tag_list.html", tags: display_order(@image.tags), conn: @conn
|
||||
|
|
Loading…
Reference in a new issue