2024-07-08 00:09:20 +02:00
|
|
|
- target = @notification.target
|
|
|
|
- source = @notification.source
|
|
|
|
|
|
|
|
.flex.flex--centered.flex__fixed.thumb-tiny-container.spacing-right
|
|
|
|
= render PhilomenaWeb.ImageView, "_image_container.html", image: target, size: :thumb_tiny, conn: @conn
|
|
|
|
|
2019-11-29 20:29:01 +01:00
|
|
|
.flex.flex--centered.flex__grow
|
|
|
|
div
|
2024-07-08 00:09:20 +02:00
|
|
|
' Someone
|
|
|
|
| merged #
|
2024-07-29 14:54:42 +02:00
|
|
|
=> source.id
|
2024-07-08 00:09:20 +02:00
|
|
|
' into
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-29 20:29:01 +01:00
|
|
|
strong>
|
2024-07-08 00:09:20 +02:00
|
|
|
= link "##{target.id}", to: ~p"/images/#{target}" <> "#comments"
|
2019-11-29 20:29:01 +01:00
|
|
|
|
|
|
|
=> 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/#{target}/read" data-method="post" data-remote="true" data-click-hideparent=".notification"
|
2019-11-29 20:29:01 +01:00
|
|
|
i.fa.fa-trash
|
|
|
|
|
2024-07-30 01:51:25 +02:00
|
|
|
a.button title="Unsubscribe" href=~p"/images/#{target}/subscription" data-method="delete" data-remote="true" data-click-hideparent=".notification"
|
2024-07-08 00:09:20 +02:00
|
|
|
i.fa.fa-bell-slash
|