mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
18 lines
938 B
Text
18 lines
938 B
Text
<div class="flex flex--centered flex__grow">
|
|
<div>
|
|
<%= render(PhilomenaWeb.UserAttributionView, "_user.html", object: %{user: @notification.actor.creator}, conn: @conn) %>
|
|
<%= @notification.action %>
|
|
<strong>
|
|
<%= link(@notification.actor.title, to: ~p"/galleries/#{@notification.actor}") %>
|
|
</strong>
|
|
<%= pretty_time(@notification.updated_at) %>
|
|
</div>
|
|
</div>
|
|
<div class="flex flex--centered flex--no-wrap">
|
|
<a class="button button--separate-right" data-fetchcomplete-hide={"#notification-#{@notification.id}"} data-method="post" data-remote="true" href={~p"/galleries/#{@notification.actor}/read"} title="Delete">
|
|
<i class="fa fa-trash"></i>
|
|
</a>
|
|
<a class="button" data-fetchcomplete-hide={"#notification-#{@notification.id}"} data-method="delete" data-remote="true" href={~p"/galleries/#{@notification.actor}/subscription"} title="Unsubscribe">
|
|
<i class="fa fa-bell-slash"></i>
|
|
</a>
|
|
</div>
|