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

14 lines
662 B
Text
Raw Normal View History

.flex.flex--centered.flex__grow
div
strong>
2024-06-06 22:28:35 +02:00
= 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
2024-06-06 22:28:35 +02:00
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
2024-06-06 22:28:35 +02:00
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