2024-07-08 00:09:20 +02:00
|
|
|
- comment = @notification.comment
|
|
|
|
- image = @notification.image
|
|
|
|
|
|
|
|
.flex.flex--centered.flex__fixed.thumb-tiny-container.spacing-right
|
|
|
|
= render PhilomenaWeb.ImageView, "_image_container.html", image: image, size: :thumb_tiny, conn: @conn
|
|
|
|
|
|
|
|
.flex.flex--centered.flex__grow
|
|
|
|
div
|
|
|
|
=> render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: comment, conn: @conn
|
|
|
|
' commented on
|
|
|
|
|
|
|
|
strong>
|
|
|
|
= link "##{image.id}", to: ~p"/images/#{image}" <> "#comments"
|
|
|
|
|
|
|
|
=> pretty_time @notification.updated_at
|
|
|
|
|
|
|
|
.flex.flex--centered.flex--no-wrap
|
2024-07-30 01:51:25 +02:00
|
|
|
a.button.button--separate-right title="Delete" href=~p"/images/#{image}/read" data-method="post" data-remote="true" data-click-hideparent=".notification"
|
2024-07-08 00:09:20 +02:00
|
|
|
i.fa.fa-trash
|
|
|
|
|
2024-07-30 01:51:25 +02:00
|
|
|
a.button title="Unsubscribe" href=~p"/images/#{image}/subscription" data-method="delete" data-remote="true" data-click-hideparent=".notification"
|
2024-07-08 00:09:20 +02:00
|
|
|
i.fa.fa-bell-slash
|