philomena/lib/philomena_web/templates/notification/_gallery.html.slime
2024-07-29 19:51:25 -04:00

18 lines
711 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" data-click-hideparent=".notification"
i.fa.fa-trash
a.button title="Unsubscribe" href=~p"/galleries/#{gallery}/subscription" data-method="delete" data-remote="true" data-click-hideparent=".notification"
i.fa.fa-bell-slash