philomena/lib/philomena_web/templates/notification/_channel.html.slime
2019-12-04 23:27:40 -05:00

14 lines
No EOL
720 B
Text

.flex.flex--centered.flex__grow
div
strong>
= link @notification.actor.title, to: Routes.channel_path(@conn, :show, @notification.actor)
=<> @notification.action
=> pretty_time @notification.updated_at
.flex.flex--centered.flex--no-wrap
a.button.button--separate-right title="Delete" href=Routes.channel_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.channel_subscription_path(@conn, :delete, @notification.actor) data-method="delete" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
i.fa.fa-bell-slash