clacks/lib/clacks_web/templates/frontend/_follow_notification.html.eex

11 lines
386 B
Elixir

<div class="notification">
<div class="status-meta">
<p class="notification-info">
Followed by <a href="<%= local_actor_link(@actor) %>"><%= @actor.data["preferredUsername"] %></a>
</p>
<p class="notification-info-right">
<time datetime="<%= @activity.data["published"] %>"><%= display_timestamp(@activity.data["published"]) %></time>
</p>
</div>
</div>