2019-11-16 04:50:58 +01:00
|
|
|
= if @notification.actor do
|
2019-11-29 20:29:01 +01:00
|
|
|
.block.block--fixed.flex id="notification-#{@notification.id}"
|
2019-11-16 04:50:58 +01:00
|
|
|
= if @notification.actor_type == "Image" and @notification.actor do
|
2023-11-23 17:07:49 +01:00
|
|
|
.flex.flex--centered.flex__fixed.media-tiny-container.spacing--right
|
2019-11-16 04:50:58 +01:00
|
|
|
= render PhilomenaWeb.ImageView, "_image_container.html", image: @notification.actor, size: :thumb_tiny, conn: @conn
|
2019-11-29 20:29:01 +01:00
|
|
|
|
|
|
|
=> render PhilomenaWeb.NotificationView, notification_template_path(@notification.actor_type), notification: @notification, conn: @conn
|