2019-11-29 20:29:01 +01:00
|
|
|
.flex.flex--centered.flex__grow
|
|
|
|
div
|
|
|
|
=> render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @notification.actor_child, conn: @conn
|
|
|
|
=> @notification.action
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-29 20:29:01 +01:00
|
|
|
strong>
|
|
|
|
= link "##{@notification.actor_id}", to: Routes.image_path(@conn, :show, @notification.actor) <> "#comments"
|
|
|
|
|
|
|
|
=> pretty_time @notification.updated_at
|
|
|
|
|
|
|
|
.flex.flex--centered.flex--no-wrap
|
|
|
|
a.button.button--separate-right title="Delete" href=Routes.image_read_path(@conn, :create, @notification.actor) data-method="post" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
|
|
|
|
i.fa.fa-trash
|
|
|
|
|
|
|
|
a.button title="Unsubscribe" href=Routes.image_subscription_path(@conn, :delete, @notification.actor) data-method="delete" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
|
|
|
|
i.fa.fa-bell-slash
|