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

14 lines
662 B
Text
Raw Permalink Normal View History

.flex.flex--centered.flex__grow
div
strong>
= link @notification.actor.title, to: ~p"/channels/#{@notification.actor}"
=<> @notification.action
2019-12-05 05:27:40 +01:00
=> pretty_time @notification.updated_at
.flex.flex--centered.flex--no-wrap
a.button.button--separate-right title="Delete" href=~p"/channels/#{@notification.actor}/read" data-method="post" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
2019-12-05 05:27:40 +01:00
i.fa.fa-trash
a.button title="Unsubscribe" href=~p"/channels/#{@notification.actor}/subscription" data-method="delete" data-remote="true" data-fetchcomplete-hide="#notification-#{@notification.id}"
2019-12-05 05:27:40 +01:00
i.fa.fa-bell-slash