philomena/lib/philomena_web/templates/notification/_gallery.html.slime

16 lines
785 B
Text
Raw Normal View History

.flex.flex--centered.flex__grow
div
=> render PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: @notification.actor.creator}, conn: @conn
=> @notification.action
2019-11-16 04:50:58 +01:00
strong>
= link @notification.actor.title, to: ~p"/galleries/#{@notification.actor}"
2019-12-05 05:12:49 +01:00
=> 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}"
2019-12-05 05:12:49 +01:00
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}"
2019-12-05 05:12:49 +01:00
i.fa.fa-bell-slash