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-15 22:50:58 -05:00
strong>
= link @notification.actor.title, to: ~p"/galleries/#{@notification.actor}"
2019-12-04 23:12:49 -05: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-04 23:12:49 -05: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-04 23:12:49 -05:00
i.fa.fa-bell-slash