2019-11-29 20:29:01 +01:00
|
|
|
.flex.flex--centered.flex__grow
|
|
|
|
div
|
2019-12-07 01:16:35 +01:00
|
|
|
= if @notification.actor_child do
|
|
|
|
=> render PhilomenaWeb.UserAttributionView, "_anon_user.html", object: @notification.actor_child, conn: @conn
|
|
|
|
- else
|
|
|
|
' Someone
|
2019-11-29 20:29:01 +01:00
|
|
|
=> @notification.action
|
2019-11-16 04:50:58 +01:00
|
|
|
|
2019-11-29 20:29:01 +01:00
|
|
|
strong>
|
2024-06-06 22:28:35 +02:00
|
|
|
= link "##{@notification.actor_id}", to: ~p"/images/#{@notification.actor}" <> "#comments"
|
2019-11-29 20:29:01 +01:00
|
|
|
|
|
|
|
=> pretty_time @notification.updated_at
|
|
|
|
|
|
|
|
.flex.flex--centered.flex--no-wrap
|
2024-06-06 22:28:35 +02:00
|
|
|
a.button.button--separate-right title="Delete" href=~p"/images/#{@notification.actor}/read" data-method="post" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
|
2019-11-29 20:29:01 +01:00
|
|
|
i.fa.fa-trash
|
|
|
|
|
2024-06-06 22:28:35 +02:00
|
|
|
a.button title="Unsubscribe" href=~p"/images/#{@notification.actor}/subscription" data-method="delete" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
|
2019-11-29 20:29:01 +01:00
|
|
|
i.fa.fa-bell-slash
|