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

16 lines
840 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>
2019-12-05 05:12:49 +01:00
= link @notification.actor.title, to: Routes.gallery_path(@conn, :show, @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=Routes.gallery_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.gallery_subscription_path(@conn, :delete, @notification.actor) data-method="delete" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
i.fa.fa-bell-slash