philomena/lib/philomena_web/templates/image/show.html.slime

28 lines
848 B
Text
Raw Normal View History

2019-08-18 20:14:36 +02:00
= render PhilomenaWeb.ImageView, "_image_meta.html", image: @image
= render PhilomenaWeb.ImageView, "_image_page.html", image: @image
.layout--narrow
.image-description
div
p
| Description:
.image-description__text
2019-11-11 23:57:29 +01:00
== @description
2019-08-18 20:14:36 +02:00
.js-tagsauce id="image_tags_and_source_#{@image.id}"
.tagsauce
.block
| Tags:
= render PhilomenaWeb.TagView, "_tag_list.html", tags: @image.tags
.block
.flex.flex--wrap#image-source
' Source:
= if !!@image.source_url and @image.source_url != "" do
a href=@image.source_url = @image.source_url
- else
2019-10-05 02:51:56 +02:00
em> not provided yet
h4 Comments
#comments data-current-url="" data-loaded="true"
2019-11-11 00:35:52 +01:00
= for {comment, body} <- @comments do
= render PhilomenaWeb.CommentView, "_comment.html", comment: comment, body: body