philomena/lib/philomena_web/templates/notification/_gallery.html.slime
2024-07-28 12:39:11 -04:00

18 lines
635 B
Text

- gallery = @notification.gallery
.flex.flex--centered.flex__grow
div
=> render PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: gallery.creator}, conn: @conn
' added images to
strong>
= link gallery.title, to: ~p"/galleries/#{gallery}"
=> pretty_time @notification.updated_at
.flex.flex--centered.flex--no-wrap
a.button.button--separate-right title="Delete" href=~p"/galleries/#{gallery}/read" data-method="post" data-remote="true"
i.fa.fa-trash
a.button title="Unsubscribe" href=~p"/galleries/#{gallery}/subscription" data-method="delete" data-remote="true"
i.fa.fa-bell-slash