mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
16 lines
No EOL
785 B
Text
16 lines
No EOL
785 B
Text
.flex.flex--centered.flex__grow
|
|
div
|
|
=> render PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: @notification.actor.creator}, conn: @conn
|
|
=> @notification.action
|
|
|
|
strong>
|
|
= link @notification.actor.title, to: ~p"/galleries/#{@notification.actor}"
|
|
|
|
=> pretty_time @notification.updated_at
|
|
|
|
.flex.flex--centered.flex--no-wrap
|
|
a.button.button--separate-right title="Delete" href=~p"/galleries/#{@notification.actor}/read" data-method="post" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
|
|
i.fa.fa-trash
|
|
|
|
a.button title="Unsubscribe" href=~p"/galleries/#{@notification.actor}/subscription" data-method="delete" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
|
|
i.fa.fa-bell-slash |