mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 12:37:58 +01:00
7 lines
506 B
Text
7 lines
506 B
Text
= if @notification.actor do
|
|
.block.block--fixed.flex id="notification-#{@notification.id}"
|
|
= if @notification.actor_type == "Image" and @notification.actor do
|
|
.flex.flex--centered.flex__fixed.media-tiny-container.spacing--right
|
|
= render PhilomenaWeb.ImageView, "_image_container.html", image: @notification.actor, size: :thumb_tiny, conn: @conn
|
|
|
|
=> render PhilomenaWeb.NotificationView, notification_template_path(@notification.actor_type), notification: @notification, conn: @conn
|