2022-03-24 17:31:57 +01:00
|
|
|
= render PhilomenaWeb.ImageView, "_image_approval_banner.html", image: @image, conn: @conn
|
2020-05-01 20:09:57 +02:00
|
|
|
= render PhilomenaWeb.ImageView, "_image_meta.html", image: @image, watching: @watching, user_galleries: @user_galleries, changeset: @image_changeset, conn: @conn
|
2019-11-12 02:27:09 +01:00
|
|
|
= render PhilomenaWeb.ImageView, "_image_page.html", image: @image, conn: @conn
|
2019-08-18 20:14:36 +02:00
|
|
|
|
|
|
|
.layout--narrow
|
2019-11-29 07:26:05 +01:00
|
|
|
= if @conn.assigns.advert do
|
2019-11-29 07:28:04 +01:00
|
|
|
= render PhilomenaWeb.AdvertView, "_box.html", advert: @conn.assigns.advert, conn: @conn
|
2019-11-29 07:26:05 +01:00
|
|
|
|
2019-08-18 20:14:36 +02:00
|
|
|
.image-description
|
2019-11-29 06:39:15 +01:00
|
|
|
= render PhilomenaWeb.ImageView, "_description.html", image: @image, body: @description, conn: @conn
|
|
|
|
= render PhilomenaWeb.Image.DescriptionView, "_form.html", image: @image, changeset: @image_changeset, conn: @conn
|
2019-11-25 03:16:22 +01:00
|
|
|
|
2019-12-08 00:41:31 +01:00
|
|
|
= render PhilomenaWeb.ImageView, "_tags.html", image: @image, tag_change_count: @tag_change_count, changeset: @image_changeset, conn: @conn
|
|
|
|
= render PhilomenaWeb.ImageView, "_source.html", image: @image, source_change_count: @source_change_count, changeset: @image_changeset, conn: @conn
|
2019-12-08 05:53:18 +01:00
|
|
|
= render PhilomenaWeb.ImageView, "_options.html", image: @image, changeset: @image_changeset, conn: @conn
|
2019-10-05 02:51:56 +02:00
|
|
|
|
|
|
|
h4 Comments
|
2019-11-17 05:59:24 +01:00
|
|
|
= cond do
|
|
|
|
- @conn.assigns.current_ban ->
|
2019-12-13 18:14:34 +01:00
|
|
|
= render PhilomenaWeb.BanView, "_ban_reason.html", conn: @conn
|
2019-11-17 05:59:24 +01:00
|
|
|
|
|
|
|
- @image.commenting_allowed ->
|
2020-01-01 18:27:20 +01:00
|
|
|
= render PhilomenaWeb.Image.CommentView, "_form.html", image: @image, changeset: @comment_changeset, remote: true, conn: @conn
|
2019-11-17 05:59:24 +01:00
|
|
|
|
|
|
|
- true ->
|
|
|
|
|
2024-04-29 02:55:27 +02:00
|
|
|
#comments data-current-url=~p"/images/#{@image}/comments" data-loaded="true"
|
2019-12-13 18:14:34 +01:00
|
|
|
= render PhilomenaWeb.Image.CommentView, "index.html", image: @image, comments: @comments, conn: @conn
|